cargo

Rust Workspace package selection

Check every member instead of relying on default-members. To select a single package, use -p with its name. Example format: shell. Run in a disposable copy of v16/fixtures/projects/workspace-demo. Expected result (not executed): Both app and pricing are checked successfully. Common mistake: Confusing a package name with a Rust module path.

Formal Syntax & Structure

rust syntaxrust
cargo check --offline --workspace

Working Example

Example Snippetrust
cargo check --offline --workspace
Rust Reference