Cargo tree only show pkgs in workspace?

Is there a way to get cargo tree - The Cargo Book to ONLY show pkgs in the workspace ?

Context / reasoning: for build times, I am not modifying external crates; so I mainly care about how the crates within my workspace depend on each other.

cargo-depgraph (my crate) which generates graphviz files instead of a text tree can do this with its --workspace-only flag.

2 Likes

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.