cargo build

Compile a local package and all of its dependencies. More information: https://doc.rust-lang.org/cargo/commands/cargo-build.html.

cargo build

cargo build --release

cargo build --locked

cargo build --workspace

cargo build --package {{package}}

cargo build --bin {{name}}

cargo build --test {{testname}}