Compile a local package and all of its dependencies. More information: https://doc.rust-lang.org/cargo/commands/cargo-build.html.
Cargo.toml
manifest file in the local path:cargo build
cargo build --release
Cargo.lock
is up to date:cargo build --locked
cargo build --workspace
cargo build --package package
cargo build --bin name
cargo build --test testname