#cargo-metadata #extract #compiled #default

app cargo-feature-set

Extract the features for every compiled crate from cargo metadata

4 releases (2 breaking)

0.5.0 Oct 11, 2021
0.4.0 Jan 8, 2020
0.3.1 Jan 8, 2020
0.3.0 Jan 8, 2020

#383 in Cargo plugins

MIT license

6KB
64 lines

cargo feature-set

Extract the features for every compiled crate from cargo metadata.

It looks like this:

Crate                    Features
=====                    ========
itoa:0.4.4               default, std
quote:1.0.2              default, proc-macro
serde_json:1.0.40        default
tabwriter:1.1.0          default
unicode-xid:0.2.0        default
syn:1.0.5                clone-impls, default, derive, parsing, printing, proc-macro, quote, visit
serde:1.0.99             default, derive, serde_derive, std
unicode-width:0.1.6      default
semver-parser:0.7.0
proc-macro2:1.0.2        default, proc-macro
cargo-feature-set:0.2.0
semver:0.9.0             default, serde
serde_derive:1.0.99      default
ryu:1.0.0
cargo_metadata:0.9.1     default

License

MIT.

Dependencies

~2.2–3MB
~53K SLoC