EmbarkStudios / cargo-deny

❌ Cargo plugin for linting your dependencies 🦀
http://embark.rs
Apache License 2.0
1.62k stars 80 forks source link

Factor out common duplicate paths #623

Open djc opened 4 months ago

djc commented 4 months ago

Is your feature request related to a problem? Please describe.

When trying to understand where duplicate dependencies are coming from, the trees displayed by default by cargo deny check are quite helpful. However, in some common cases I think they could be easier to navigate. For example, consider the windows target crates, which are a common source of duplicate dependencies for me:

The current output from cargo deny takes... a lot of scrolling to explain this:

https://dpaste.org/rsOoi

(Too long to paste into a GitHub comment.)

Describe the solution you'd like

Would be great to eliminate common subgraphs when explaining duplicate dependencies.