1- [CARGOHELP]
1+ Rust's package manager
2+
3+ USAGE:
4+ cargo [+toolchain] [OPTIONS] [SUBCOMMAND]
5+
6+ OPTIONS:
7+ -V, --version Print version info and exit
8+ --list List installed commands
9+ --explain <CODE> Run `rustc --explain CODE`
10+ -v, --verbose Use verbose output (-vv very verbose/build.rs output)
11+ -q, --quiet Do not print cargo log messages
12+ --color <WHEN> Coloring: auto, always, never
13+ --frozen Require Cargo.lock and cache are up to date
14+ --locked Require Cargo.lock is up to date
15+ --offline Run without accessing the network
16+ --config <KEY=VALUE> Override a configuration value (unstable)
17+ -Z <FLAG> Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for
18+ details
19+ -h, --help Print help information
20+
21+ Some common cargo commands are (see all commands with --list):
22+ build, b Compile the current package
23+ check, c Analyze the current package and report errors, but don't build object files
24+ clean Remove the target directory
25+ doc, d Build this package's and its dependencies' documentation
26+ new Create a new cargo package
27+ init Create a new cargo package in an existing directory
28+ add Add dependencies to a manifest file
29+ run, r Run a binary or example of the local package
30+ test, t Run the tests
31+ bench Run the benchmarks
32+ update Update dependencies listed in Cargo.lock
33+ search Search registry for crates
34+ publish Package and upload this package to the registry
35+ install Install a Rust binary. Default location is $HOME/.cargo/bin
36+ uninstall Uninstall a Rust binary
37+
38+ See 'cargo help <command>' for more information on a specific command.
39+
0 commit comments