cargo-neat-0.1.1 is not a library.
cargo-neat
Keep your cargo workspace neat
About
A command to complement existing tools like cargo-machete when working with a Cargo workspace.
Features:
- detect unused dependencies in
workspace.dependencieswhen working with a cargo workspace - optionally enforce using only workspace dependency in your project (
-moption)
Installation
Install with cargo:
cargo install cargo-neat
Usage
&&
or alternatively
Sample output
The return code gives an indication whether unused dependencies have been found:
- 0 if it found no unused dependencies,
- 1 if it found at least one unused dependency,
- 2 if there was an error during processing (in which case there's no indication whether any unused dependency was found or not).
Inspiration
A lot of the code structure is drawn from the great cargo-machete. If you don't already use it, you probably should.