This repository has been archived by the owner on Jan 1, 2022. It is now read-only.
Cannot enable crate features on Rust Playground because [package.metadata.playground]
is absent in Cargo.toml
#247
Labels
Issue by shivanandvp
Monday Dec 06, 2021 at 08:12 GMT
Originally opened as clap-rs/clap#3065
Please complete the following tasks
Clap Version
2.34.0
Describe your use case
Tried using a string YAML with
clap
on the Rust playground, but it does not run due to theyaml
feature not being enabled. Here is an example code:Describe the solution you'd like
Please add a list of features (including 'yaml') under
[package.metadata.playground]
section in yourCargo.toml
file. Because it is currently not present, only the default features are enabled on the rust playground. That severely limits the use ofclap
, because there is no other way to enable crate features on the Rust Playground.Alternatives, if applicable
None.
Additional Context
No response
The text was updated successfully, but these errors were encountered: