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

Duplicate dependencies #1816

Closed
baptistemanson opened this issue Jan 5, 2021 · 1 comment · Fixed by #2326
Closed

Duplicate dependencies #1816

baptistemanson opened this issue Jan 5, 2021 · 1 comment · Fixed by #2326
Labels
C - upstream It's not our fault for once DS - macos S - maintenance Repaying technical debt

Comments

@baptistemanson
Copy link

Hi all,
I'm a absolute beginner in Rust.

While using the command "cargo tree -d", I saw duplicates on core-graphics, core-foundation-sys, core-foundation.

  • Am I reading the dups correctly?
  • Is it fair to say that updating core-video-sys to more recent libs would shave of around 100kB of dups out of the 300kB of winit?

Thanks for your patience!

core-graphics v0.19.2
└── core-video-sys v0.1.4
    └── winit v0.24.0
        └── wgpu v0.1.0 (/Users/inovia/Desktop/rust/wgpu)

core-graphics v0.22.2
├── cocoa v0.24.0
│   └── winit v0.24.0
│       └── wgpu v0.1.0 (/Users/inovia/Desktop/rust/wgpu)
└── winit v0.24.0 (*)
@madsmtm
Copy link
Member

madsmtm commented Jan 26, 2021

This is not an issue with winit, but with core-video-sys, they need to release a new version with newer dependencies (last release was 2020-05-06). See LuoZijun/rust-core-video-sys#16 for a similar issue/suggestion.

@maroider maroider added C - upstream It's not our fault for once S - maintenance Repaying technical debt labels Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C - upstream It's not our fault for once DS - macos S - maintenance Repaying technical debt
Development

Successfully merging a pull request may close this issue.

4 participants