cargo-machete 0.1.2

Find unused dependencies with this one weird trick!
cargo-machete-0.1.2 is not a library.

Writeup coming soon 🔜

Installation

Install cargo-machete with cargo:

cargo install cargo-machete

Example

Run cargo-machete in a directory that contains one or more Rust projects (using Cargo for dependency management):

cd my-directory && cargo machete

# alternatively

cargo machete /absolute/path/to/my/directory

If there are too many false positives, consider using the --with-metadata CLI flag, which will call cargo metadata --all-features to find final dependency names, more accurate dependencies per build type, etc. âš  This may modify the Cargo.lock files in your projects.

Contributing

Contributor Covenant

We welcome community contributions to this project.

License

MIT license.