Rust theorytheory 0/50 · 0%
Project structure · hard

47. Workspaces and Release Engineering

Multi-crate repos and publishing.

A workspace shares one Cargo.lock and target directory across member crates, keeping versions consistent. Feature flags gate optional dependencies and must remain additive. cargo publish, semantic versioning and a rust-toolchain file make releases reproducible.

Check your understanding

  1. 1. A workspace shares…

  2. 2. Feature flags should be…