A subcommand for cargo
that can be used similar to cargo check
. Clippy is a powerful linter for Rust.
cargo install cargo-clippy
cargo clippy
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.