cargo-clippy

A subcommand for cargo that can be used similar to cargo check. Clippy is a powerful linter for Rust.

Instalation

cargo install cargo-clippy

Usage

cargo clippy

Additional info

cargo-clippy clones git repo of clippy to your $CARGO_HOME (or ~/.cargo if none set) and builds it when you install cargo clippy, it takes time.