Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upFeature request: print features used to build each crate in tree #18
Comments
This comment has been minimized.
This comment has been minimized.
|
That seems like a reasonable thing to do! |
This comment has been minimized.
This comment has been minimized.
psinghal20
commented
Feb 3, 2019
|
Hi! I wanted to know if someone is working over this feature request? If not, maybe I can contribute to this issue. Any tips to proceed would be helpful! |
This comment has been minimized.
This comment has been minimized.
brson
commented
Feb 6, 2019
•
|
In addition to knowing which features are on, I think it would be useful to know which features are off too. Let me see the entire "feature-space". e.g. for @psinghal20's work on tikv/tikv#4167, they are trying to adjust features to remove bloat, and there are often 'negative' features that could disable code, that one might not know about. |
psinghal20
referenced a pull request that will
close
this issue
Mar 5, 2019
Open
Fixes #18 Add option to show whole feature space of dependency tree #59
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dushistov commentedJul 25, 2017
Thanks for this tool,
to debug issue like desribed at rust-lang/cargo#4323 it would be nice
to show in
cargo treeoutput the features used for building each crate(it can be done by parsing
cargo check -voutput),for example if
cargo treehas such feature, then SO question can be solved just comparecargo treeoutputs,in one case it may print something like:
in other case