Skip to content

Add a way to pretty-print the dependency tree #7286

@gnzlbg

Description

@gnzlbg

Currently I need to:

cargo install cargo-tree
cargo tree

to pretty-print the dependency tree - which on first install takes a while, and because of cargo-tree dependency on cargo, needs to often be recompiled when Rust is upgraded.

I shouldn't need to install a cargo subcomman to print the whole dependency tree of a crate in a human readable form. Feels like a way too common task that deserves upstream support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-new-subcommandArea: new subcommandC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions