cargo-machete, find unused dependencies quickly
(2022-04-27)cargo-machete
is a new Cargo tool that detects unused dependencies in Rust
projects, in a fast (yet imprecise) way. As of today you can install it with
cargo install cargo-machete
and then run it with cargo machete
from any
folder that contains a workspace or crate, to find if you have potentially
unused dependencies. Beware, it can report a few false positives!