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

app cargo-duplicates

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

10 releases (5 breaking)

0.6.0 May 3, 2024
0.5.1 Apr 13, 2022
0.5.0 Feb 25, 2022
0.4.0 Oct 25, 2021
0.1.0 Nov 10, 2020

#103 in Cargo plugins

Download history 9/week @ 2024-02-19 10/week @ 2024-02-26 6/week @ 2024-03-04 6/week @ 2024-03-11 4/week @ 2024-03-18 18/week @ 2024-04-01 4/week @ 2024-04-08 162/week @ 2024-04-29 44/week @ 2024-05-06

207 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

~89MB
~1.5M SLoC