Command-line tool
cargo-edit
brew/cargo-edit
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Utility for managing cargo dependencies from the command-line
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install cargo-edit
Linux
brew install cargo-edit
Add the latest version of a dependency to the current project
cargo add dependency
Add a specific version of a dependency
cargo add dependency@version
Add a dependency and enable one or more specific features
cargo add dependency -F feature_1,feature_2,...
Related command-line tools
- rust-audit-info
Command-line tool to extract the dependency trees embedded in binaries by cargo auditable . - polykill
Lightweight command line utility for removing dependencies and build artifacts from unused projects. - cargo-autoinherit
A cargo sub-command to leverage dependency inheritance wherever possible - cargo-fuzz
Command-line helpers for fuzzing - cargo-pipe
A command-line tool to generate and build data integration app using pipebase framework - cargo-msrv
Find the minimum supported Rust version (MSRV) for your project - sqlx-cli
Command-line utility for SQLx, the Rust SQL toolkit - cargo-e
e is for Example. A command-line tool for running and exploring source, examples, and binaries from Rust projects. It…
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents