museun / cargo-whatfeatures

a simple cargo plugin to get a list of features for a specific crate
Apache License 2.0
73 stars 1 forks source link

It should denote which are the default features #46

Closed museun closed 3 years ago

museun commented 3 years ago

cargo whatfeatures syn

syn/1.0.31
features
├─ default
│ ├─ clone-impls
│ ├─ derive
│ ├─ parsing
│ ├─ printing
│ └─ proc-macro
├─ clone-impls
├─ derive
├─ extra-traits
├─ fold
├─ full
├─ parsing
├─ printing
├─ proc-macro
├─ test
├─ visit
└─ visit-mut

It would be nice if it put a (D) or (*) or something beside the list of features at the bottom. This would make spotting which aren't enabled by default easier.

museun commented 3 years ago

Added in v0.9.0