cargo tree: feature request: print features used to build each crate in tree #10949
Labels
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Problem
This is a re-open of sfackler/cargo-tree#18 - the issue seems to have gotten dropped silently when the repository was merged into rust-lang/cargo. Often times, when debugging why certain dependencies are pulled in, it is important to know which features are enabled on the crates dependencies (in order to debug what features depend on each other). Dealing with feature flags that depend on each other is currently a mess in larger projects.
Proposed Solution
An example of what I'd like to see is something like this (printing the enabled as well as the available features):
Notes
No response
The text was updated successfully, but these errors were encountered: