Provide a way to figure out why a specific dependency feature is enabled during build #13289
Labels
A-documenting-cargo-itself
Area: Cargo's documentation
A-features
Area: features — conditional compilation
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
S-accepted
Status: Issue or feature is accepted, and has a team member available to help mentor or review
Problem
I'm currently trying to disable a feature in a dependency, but Cargo clearly still enables it (the items it gates are still available; there is no other way Cargo communicates this). I've checked all other crates in my dependency graph that depend on that crate, and none of them seem to enable that feature.
There does not seem to be any way, or at least any documented way, or any third-party subcommand, that can help debug this. This is incredibly frustrating.
Proposed Solution
No response
Notes
No response
The text was updated successfully, but these errors were encountered: