cargo

Rust cargo help

Inspect the installed command documentation before choosing flags. For a concise CLI listing, cargo build --help is an alternative. Example format: shell. Run in a disposable copy of v16/fixtures/projects/profile-demo. Expected result (not executed): Help for the installed build command; formatting depends on the environment. Common mistake: Assuming current online flags exist in an older installed toolchain.

Formal Syntax & Structure

rust syntaxrust
cargo help [OPTIONS]

Working Example

Example Snippetrust
cargo help build
Rust Reference