🎉 We've just stabilized cargo its own linting system on nightly, and will land on stable Rust 1.100.0!
It comes with a built-in unused dependencies detection.
If you have interesting lint ideas for Cargo, feel free to open issues :)
Full lint doc: doc.rust-lang.org/nightly/cargo/…