Author: Jase Batchelor
Adding functionality to cargo
The default installation of cargo
provides a ton of functionality and out of the box it handles pretty much all of the common development tasks you will encounter.
As a side note, for those from a Java background cargo
feels like Maven on steroids. Don’t mention gradle aka. Ant rewritten in groovy… 😜
There are a couple of add-ons we will install:
Clippy - https://doc.rust-lang.org/nightly/clippy/
A linter for Rust that can be configured to be just as annoying as its’ namesake…
See How to configure clippy to be as annoying as possible
rustup component add clippy-preview cargo-clippy
Cargo edit - https://lib.rs/crates/cargo-edit
Additional functionality to manage dependencies ie. upgrades
cargo install cargo-edit