CARVIEW |
Select Language
HTTP/2 200
date: Wed, 16 Jul 2025 20:36:38 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-robots-tag: none
etag: W/"4f42f8be157cb29ed152e22b1f759f61"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=7ybQZCmDR47cfbLQQHNTcPK29VLzrX4eqCY%2FBaHaL9mDfgVKpPKnCsaDzVn%2Fy4DgKZEmhjMM5uiyOwa%2FBby5i4%2FE8%2FfLNACwA8XZQlCzNG7hMLl0QZk0zubSYVBoMyxyFspjVSqB42Gvby1ZKQbi286R1qfeWcBmnulOqG2kenMMLtk1fGXrka%2BaHhLeM4%2BCCEVvgmoFfMjv%2BM8%2FkQktADU%2BXX2WVCXf7mx7vspmBOsrzlMWeuGlQkVaVlLv%2BTwBZS25b4jXUwsrQj06w9KOGg%3D%3D--9%2FbkiI%2BtLMRSGdXK--UX0840YzE2KiNXy7K%2Fc47Q%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.236705706.1752698198; Path=/; Domain=github.com; Expires=Thu, 16 Jul 2026 20:36:38 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 16 Jul 2026 20:36:38 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C2E2:3ED5C:7F338:ABE1D:68780D56
Third party cargo subcommands · rust-lang/cargo Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Third party cargo subcommands
nodivbyzero edited this page Apr 17, 2025
·
107 revisions
Cargo is designed to be extensible with new subcommands without having to modify Cargo itself. This is achieved by translating a cargo
invocation of the form cargo (?<command>[^ ]+)
into an invocation of an external tool cargo-${command}
that then needs to be present in the ~/.cargo/bin/
or one of the user's $PATH
directories.
Below is a list of known community-developed subcommands. Please add your own if it's intended and ready for general use.
- cargo-audit - Audit Cargo.lock for crates with security vulnerabilities
- cargo-auditable - Embed dependency lists into compiled binaries so you could audit them for vulnerabilities later
- cargo-asm, cargo-llvm-ir / cargo show-asm - Shows generates assembly or LLVM IR of Rust code
-
cargo-benchcmp - Compare output of
cargo bench
output, both runs over time and same benchmarks in multiple modules (e.g. for comparing multiple implementations) - cargo-bitbake - Generate Yocto's bitbake recipes from your Cargo.toml
- cargo-bloat - Find out what takes most of the space in your executable.
- cargo-bundle - Wrap Rust executables in OS-specific app bundles (linux, apple, windows, etc.)
-
cargo-cache - Helps you manage the cargo cache (
~/.cargo
), print sizes and clear directories - cargo-cook - Cooks your crate (packaging & deploying).
- cargo-clone - Fetch source code of a crate
-
cargo-deadlinks - Check your
cargo doc
documentation for broken links - cargo-deb - Generates & builds Debian packages from cargo projects.
- cargo-deny - Lint your dependencies
- cargo-diet - Make your crate lean by computing size-optimal include directives for Cargo manifests.
-
cargo-dist -
cargo build
but For Building Final Distributable Artifacts and uploading them to an archive. - cargo-dinghy - Easier cross-compilation for phones and single boards computers.
-
cargo-do - Run multiple cargo subcommands in sequence (e.g.,
cargo do clean, build
) - dors - Task runner for cargo. Deploy, load, or run other scripts from your cargo project
-
cargo-edit - A utility for adding (
cargo-add
), removing (cargo-rm
), and upgrading (cargo-upgrade
) cargo dependencies from the command line. -
cargo-expand - Print the result of macro expansion and
#[derive]
expansion. - cargo-free - Check whether a crate name is available on crates.io.
- cargo-function-history - search the files in your git history for fumctions with a certain name.
- cargo-funnel - Sorts and formats your Cargo.toml
- cargo-fuzz - Command-line wrapper for using libFuzzer
- cargo-generate - Create a new Rust project by leveraging a pre-existing git repository as a template.
- cargo-grammarly - Use the grammarly service for checking English grammar in your crate's documentation.
- cargo-graph - Build GraphViz DOT files of dependency graphs.
- cargo-info - Get crate information and details from crates.io
- cargo-lambda - Build and deploy AWS Lambda functions built with Rust
- cargo-license - List licensing info for the project's dependencies.
- cargo-linked - List Linked packages for a rust binary.
- cargo-lipo - Automatically create universal libraries for iOS.
-
cargo-lock - List packages, show dependency trees, and translate formats for
Cargo.lock
files. - cargo-machete - Detects unused dependencies in Rust projects, in a fast (yet imprecise) way.
- cargo-make - Rust task runner and build tool.
- cargo-modules - List a project's modules in a tree-like format.
- cargo-multi - Run a cargo command on multiple crates.
- cargo-mutants - Check whether your tests catch injected synthetic bugs
- cargo-next - Query or set the version of a crate.
- cargo-outdated - A cargo subcommand for displaying when Rust dependencies are out of date
- cargo-patch - Cargo Subcommand for patching dependencies using patch files.
- cargo-pgo - Cargo subcommand for optimizing Rust binaries with PGO (profile-guided optimization) and BOLT (post-link binary optimizer).
- cargo-pkgbuild - Generate an Arch PKGBUILD for your crate.
- cargo-profiler - A cargo subcommand to profile your applications.
- cargo-release - Standardizes the release process of a cargo project.
- cargo-rpm - Build RPM releases of Rust projects using cargo.
- cargo-sandbox - Perform Cargo builds inside of a sandboxed environment (WIP).
- cargo-script - designed to let people quickly and easily run Rust "scripts" which can make use of Cargo's package ecosystem.
- cargo-semver-checks - Scan your Rust crate for semver violations.
- cargo-sort-ck - Checks that your Cargo.toml dependencies are sorted alphabetically.
- cargo-supply-chain - Gather author, contributor and publisher data on crates in your dependency graph.
- cargo-tarpaulin - Code coverage tool for your Rust projects
- cargo-tomlfmt - Formatting Cargo.toml
- cargo-trend - Generate trend graph of dependent crates
-
cargo-update - Check for
cargo install
ed executables' newer versions and update as needed. - cargo-urlcrate - Adds URLs of installing/downloading crates to Cargo output
-
cargo-valgrind - Runs a binary, example, bench, ... inside
valgrind
to check for memory leaks. Helpful in FFI contexts. - cargo-watch - Watch your repo for changes and build automatically.
-
cargo-with - A cargo-subcommand making it easy to run the build artifacts produced by
cargo run
orcargo build
through other tools such asgdb
,strace
,valgrind
,rr
, etc. - cargo-wix - Builds a Windows installer (msi) using the Wix Toolset based on the contents of a package's manifest (Cargo.toml)
- cargo-workspaces - Workspace management (create, version, publish) tool.
- cargo-x - A very simple third-party cargo subcommand to execute a custom command.
You can’t perform that action at this time.