-
Notifications
You must be signed in to change notification settings - Fork 2.9k
cargo why <crate> #10006
Copy link
Copy link
Closed as not planned
Labels
A-new-subcommandArea: new subcommandArea: new subcommandC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Metadata
Metadata
Assignees
Labels
A-new-subcommandArea: new subcommandArea: new subcommandC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Type
Fields
Give feedbackNo fields configured for issues without a type.
Problem
It is hard to know
whya specific crate is required (and why it has a specific version).Proposed Solution
There could be a sub command named
whythat could display the constraints applied to a crate and the dependency tree linked to it in order to understand why a specific crate is required.Composer (PHP's package manager) exposes such sub command: https://getcomposer.org/doc/03-cli.md#depends-why-
Notes
This issue should be flagged with A-new-subcommand I guess.
A "similar" issue exists #1211 but it does not have the same intent