70 %

Useful community cargo subcommands

cargo edit

Adds cargo add, cargo rm, and cargo upgrade like you might be used to in other ecosystems (like yarn add).

cargo install cargo-edit

cargo expand

A convenience command to expand macros. It is an alias for $ cargo rustc --profile=check -- -Zunstable-options --pretty=expanded

cargo install cargo-expand

cargo generate

Scaffold new projects from git repos.

cargo install cargo-generate