#cargo-subcommand #cargo #cargo-version #deps #dependencies #subcommand

app cargo-duplicates

Cargo subcommand for displaying when different versions of a same dependency are pulled in

11 releases (6 breaking)

0.7.0 Aug 20, 2024
0.6.0 May 3, 2024
0.5.1 Apr 13, 2022
0.5.0 Feb 25, 2022
0.3.1 Nov 19, 2020

#171 in Cargo plugins

37 downloads per month

MIT license

24KB
107 lines

cargo-duplicates

A cargo subcommand for displaying when different versions of a same dependency are pulled in.

Demo

Once installed, running cargo duplicates in a project directory looks like the following:

Package    Versions
-------    --------
hex        0.4.3  0.3.2
rand_core  0.6.3  0.5.1

hex 0.4.3:
- Because of cargo-duplicates 0.4.0 => cargo 0.57.0 => hex 0.4.3
- Because of cargo-duplicates 0.4.0 => cargo 0.57.0 => cargo-util 0.1.1 => hex 0.4.3
hex 0.3.2:
- Because of cargo-duplicates 0.4.0 => cargo 0.57.0 => cargo-util 0.1.1 => crypto-hash 0.3.4 => hex 0.3.2

rand_core 0.6.3:
- Because of cargo-duplicates 0.4.0 => cargo 0.57.0 => tempfile 3.2.0 => rand 0.8.4 => rand_core 0.6.3
- Because of cargo-duplicates 0.4.0 => cargo 0.57.0 => cargo-util 0.1.1 => tempfile 3.2.0 => rand 0.8.4 => rand_core
  0.6.3
- Because of cargo-duplicates 0.4.0 => cargo 0.57.0 => tempfile 3.2.0 => rand 0.8.4 => rand_chacha 0.3.1 => rand_core
  0.6.3
- Because of cargo-duplicates 0.4.0 => cargo 0.57.0 => cargo-util 0.1.1 => tempfile 3.2.0 => rand 0.8.4 => rand_chacha
  0.3.1 => rand_core 0.6.3
- Because of cargo-duplicates 0.4.0 => cargo 0.57.0 => tempfile 3.2.0 => rand 0.8.4 => rand_hc 0.3.1 => rand_core 0.6.3
- Because of cargo-duplicates 0.4.0 => cargo 0.57.0 => cargo-util 0.1.1 => tempfile 3.2.0 => rand 0.8.4 => rand_hc 0.3.1
  => rand_core 0.6.3
rand_core 0.5.1:
- Because of cargo-duplicates 0.4.0 => cargo 0.57.0 => im-rc 15.0.0 => rand_core 0.5.1
- Because of cargo-duplicates 0.4.0 => cargo 0.57.0 => im-rc 15.0.0 => rand_xoshiro 0.4.0 => rand_core 0.5.1

Dependencies

~88MB
~1.5M SLoC