$ cargo build --release
$ cargo test --workspace --all-features
$ cargo add serde --features derive
| --release | build with optimizations (the release profile) |
| --all-features | activate all Cargo features |
| --no-default-features | do not activate the default feature set |
| --features | space/comma-separated list of features to activate |
| --workspace | run the command for every package in the workspace |
| --package | run the command for this package only |
| --bin | build/run only this binary target |
| --example | build/run this example target |
| --target | build for the given target triple |
| --locked | require an up-to-date Cargo.lock and don't change it |
| --offline | run without accessing the network |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.