Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Factor out common duplicate paths #623

Open
djc opened this issue Mar 5, 2024 · 0 comments
Open

Factor out common duplicate paths #623

djc opened this issue Mar 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@djc
Copy link

djc commented Mar 5, 2024

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:

  • windows-sys 0.48 and windows-sys 0.52 each get pulled into the dependency graph
  • Each of these depend on respective windows-targets versions (0.48.x and 0.52.x)
  • The windows-targets crate then pulls in all of the following:
    • windows_aarch64_gnullvm
    • windows_aarch64_msvc
    • windows_i686_gnu
    • windows_i686_msvc
    • windows_x86_64_gnu
    • windows_x86_64_gnullvm
    • windows_x86_64_msvc

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.

@djc djc added the enhancement New feature or request label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant