-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo list features [--recursive] [--manifest-path]
#21
Labels
Comments
|
3 tasks
(Closing all cargo-list issues because |
Hi, I'd be interested in listing all the features of a crate. Do you know how to do that? Is there another third-party subcommand? Or has it been added to cargo? |
Hi! I'm not sure there is a special (3d party) subcommand. Can you list which features you expect from this, well, feature listing tool? Just reading the Cargo config is actually not that hard -- cargo has a `read-manifest` subcommand that gives you all the data in JSON. So, you can just extract the features from there and write a small wrapper around it.
In the meantime (haven't tried it lol), `cargo read-manifest | jq ".features"`
… Am 19.11.2017 um 21:38 schrieb Corentin Henry ***@***.***>:
Hi,
I'd be interested in listing all the features of a crate. Do you know how to do that? Is there another third-party subcommand? Or has it been added to cargo?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cargo.toml
Suggested by @gkoz in #20.
The text was updated successfully, but these errors were encountered: