#cargo #tool #dependencies #cargo-lock #cargo-toml #version

app cargo-duplicated-deps

A tool to find duplicated dependencies in Cargo.toml

1 unstable release

0.1.0 Dec 30, 2024

#166 in Cargo plugins

Download history 94/week @ 2024-12-24 35/week @ 2024-12-31 1/week @ 2025-01-07

130 downloads per month

MIT license

6KB
81 lines

Cargo Duplicated Dependencies

This is a simple tool to find duplicated dependencies in a Cargo project. Duplicated dependencies are dependencies that are compiled with different versions. This can happen when different dependencies require different versions of the same package. This leads to larger binaries and slower compilation. This tool parses the Cargo.lock file and finds duplicated dependencies and outputs their paths.

Installation

cargo install cargo-duplicated-deps

Usage

cargo duplicated-deps

Dependencies

~2.4–3.5MB
~62K SLoC