Due to the dependency on the clippy plugin, cargo-clippy does not work as a standalone binary. cargo install does not support external resources and so cannot be used as-is to install cargo-clippy.
One potential approach would be to embed clippy into the cargo-clippy binary and extract it to a temporary directory when it's needed.
Due to the dependency on the clippy plugin,
cargo-clippy
does not work as a standalone binary.cargo install
does not support external resources and so cannot be used as-is to installcargo-clippy
.One potential approach would be to embed clippy into the
cargo-clippy
binary and extract it to a temporary directory when it's needed.