cargo Commands

Comprehensive documentation for cargo command-line tools. Learn cargo commands quickly with practical examples.

Showing 30 of 38 commands (Page 1 of 2)

cargo-add

common

Add Rust dependencies effortlessly with Cargo Add. Manage crate versions, features, and paths for seamless project builds. Free online tool, no registration required.

cargo-bench

common

Execute Rust benchmarks effortlessly with Cargo Bench. Analyze performance, identify bottlenecks and optimize code. Free online tool, no registration required.

cargo-build

common

Compile Rust packages effortlessly with Cargo Build. Manage dependencies, optimize for release, and target specific binaries. Free online tool, no registration required.

cargo-check

common

Check Rust code for errors instantly with Cargo Check. Analyze dependencies and ensure code quality using the command line. Free online tool, no registration required.

cargo-clean

common

Clean Rust build artifacts with Cargo Clean. Remove target directories, documentation, and release builds for cleaner builds. Free online tool, no registration required.

cargo-clippy

common

Improve your Rust code with cargo clippy. Analyze code, catch mistakes and enhance code quality easily. Free online tool, no registration required.

cargo-fetch

common

Fetch Rust dependencies instantly with Cargo Fetch. Download packages and manage your Rust projects efficiently. Free online tool, no registration required.

cargo-doc

common

Generate Rust documentation with Cargo Doc. Build and open project documentation, manage dependencies, and view package-specific docs. Free online tool, no registration required.

cargo-fix

common

Auto-fix Rust code instantly with Cargo Fix. Resolve lint warnings and migrate Rust editions effortlessly using cargo command. Free online tool, no registration required.

cargo-fmt

common

Format Rust code quickly with cargo-fmt. Improve code readability and maintain consistent style across your projects. Free online tool, no registration required.

cargo-generate-lockfile

common

Generate Cargo.lock files with Cargo Generate Lockfile for managing Rust package dependencies efficiently. Ensure reproducible builds with this free online tool, no registration required.

cargo-help

common

Display Cargo help and Rust subcommand details with Cargo Help. Access command-line documentation for Rust projects. Free online tool, no registration required.

cargo-init

common

Create Rust package instantly with Cargo Init, a versatile Rust package manager. Easily initialize new projects, manage dependencies, and build applications. Free online tool, no registration required.

cargo-install

common

Build Rust binaries effortlessly with Cargo Install. Install crates from crates.io, Git repositories, or local paths. Free online tool, no registration required.

cargo-locate-project

common

Locate Cargo projects instantly with Cargo Locate-Project. Find the Cargo.toml manifest path for projects and workspaces. Free online tool, no registration required.

cargo-login

common

Save API token for Rust packages with Cargo Login. Securely store credentials and authenticate with registries. Free online tool, no registration required.

cargo-logout

common

Remove Cargo API tokens easily with Cargo Logout. Securely manage your Rust package registry credentials from the command line. Free online tool, no registration required.

cargo-metadata

common

Generate Cargo metadata to inspect Rust packages and dependencies. Analyze workspace members, resolve dependencies, and customize output formats. Free online tool, no registration required.

cargo-new

common

Create Rust packages instantly with Cargo New. Generate new Rust projects with binary or library targets using the command line. Free online tool, no registration required.

cargo-owner

common

Manage Rust crate owners effectively with Cargo Owner. Control access, add or remove owners and list current contributors. Free online tool, no registration required.

cargo-pkgid

common

Generate package identifiers with Cargo Pkgid. Get fully qualified package specifications for Rust projects and dependencies. Free online tool, no registration required.

cargo-publish

common

Publish Rust packages with Cargo Publish. Upload your crate to a registry and share your code. Free online tool, no registration required.

cargo-package

common

Package Rust code with Cargo Package for distribution. Easily create distributable `.crate` files and verify package contents. Free online tool, no registration required.

cargo-remove

common

Remove Cargo dependencies effortlessly with Cargo Remove. Clean up your Rust projects by removing unused crates and manage your Cargo.toml. Free online tool, no registration required.

cargo-report

common

Generate comprehensive Rust reports with Cargo Report. Analyze future incompatibilities and package dependencies with this powerful command-line tool. Free online tool, no registration required.

cargo-run

common

Execute Rust code with Cargo Run. Build and run your Cargo packages quickly. Manage features and profiles with this command-line tool. Free online tool, no registration required.

cargo-rustc

common

Compile Rust packages efficiently with Cargo Rustc. Customize build options and optimize for size or speed. Free online tool, no registration required.

cargo-rustdoc

common

Generate Rust documentation with cargo-rustdoc. Build API documentation, customize rustdoc options, and control linting. Free online tool, no registration required.

cargo-search

common

Find Rust packages easily with Cargo Search. Discover crates and their descriptions in TOML format for seamless Cargo.toml integration. Free online tool, no registration required.

cargo-test

common

Execute Rust package tests with Cargo Test. Debug Rust code, optimize test execution and control test concurrency. Free online tool, no registration required.

1 2
Go to page:

Why Use Our $cargo Commands?

Quick Reference

Get $cargo command examples and usage instantly without reading full documentation.

Platform Specific

Commands organized specifically for $cargo for easy navigation and learning.

Practical Examples

Real-world $cargo examples that you can copy and use immediately.