Package cargo

Rust's package manager and build tool

https://www.rust-lang.org

Cargo is a tool that allows Rust projects to declare their various dependencies
and ensure that you'll always get a repeatable build.

Version: 1.45.2

General Commands

cargo The Rust package manager
cargo-bench Execute benchmarks of a package
cargo-build Compile the current package
cargo-check Check the current package
cargo-clean Remove generated artifacts
cargo-doc Build a package's documentation
cargo-fetch Fetch dependencies of a package from the network
cargo-fix Automatically fix lint warnings reported by rustc
cargo-generate-lockfile Generate the lockfile for a package
cargo-help Get help for a Cargo command
cargo-init Create a new Cargo package in an existing directory
cargo-install Build and install a Rust binary
cargo-locate-project Print a JSON representation of a Cargo.toml file's location
cargo-login Save an API token from the registry locally
cargo-metadata Machine-readable metadata about the current package
cargo-new Create a new Cargo package
cargo-owner Manage the owners of a crate on the registry
cargo-package Assemble the local package into a distributable tarball
cargo-pkgid Print a fully qualified package specification
cargo-publish Upload a package to the registry
cargo-run Run the current package
cargo-rustc Compile the current package, and pass extra options to the compiler
cargo-rustdoc Build a package's documentation, using specified custom flags
cargo-search Search packages in crates.io
cargo-test Execute unit and integration tests of a package
cargo-tree Display a tree visualization of a dependency graph
cargo-uninstall Remove a Rust binary
cargo-update Update dependencies as recorded in the local lock file
cargo-vendor Vendor all dependencies locally
cargo-verify-project Check correctness of crate manifest
cargo-version Show version information
cargo-yank Remove a pushed crate from the index