-
Notifications
You must be signed in to change notification settings - Fork 465
Closed
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency filewontfix
Description
While experimenting with cargo clippy I noticed that multiple versions of some dependencies are in use:
warning: multiple versions for dependency `bitflags`: 1.3.2, 2.9.1
warning: multiple versions for dependency `windows-targets`: 0.42.2, 0.52.6
warning: multiple versions for dependency `windows_aarch64_gnullvm`: 0.42.2, 0.52.6
warning: multiple versions for dependency `windows_aarch64_msvc`: 0.42.2, 0.52.6
warning: multiple versions for dependency `windows_i686_gnu`: 0.42.2, 0.52.6
warning: multiple versions for dependency `windows_i686_msvc`: 0.42.2, 0.52.6
warning: multiple versions for dependency `windows_x86_64_gnu`: 0.42.2, 0.52.6
warning: multiple versions for dependency `windows_x86_64_gnullvm`: 0.42.2, 0.52.6
warning: multiple versions for dependency `windows_x86_64_msvc`: 0.42.2, 0.52.6
The lint documentation claims this bloats the executable or cause other trouble.
Reporting a violated lint while the project is short on maintainers might be a bit silly, but I cannot find any mention of this elsewhere so I thought I might at least report it.
Steps to reproduce
git clone https://github.com/RustAudio/cpal
cd cpal/
cargo clippy -- -Aclippy::all -Wclippy::multiple_crate_versions |& grep multiple\ versionsFix?
Perhaps this is a trivial typo somewhere but I cannot make much sense of Cargo.toml.
Metadata
Metadata
Assignees
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency filewontfix