Packages and Tooling
The model is built. This last part covers what it takes to ship it: how packages are organized, how dependencies and workspaces work, and what the compiler and LSP do for you in daily editing.
- 4.1 Modules and Packages —
mod,use, the prelude pattern, two-tier visibility. - 4.2 Workspaces and Dependencies — multi-package workspaces, the lockfile, the registry.
- 4.3 The Compiler and LSP —
ox check, diagnostic codes, the InfoView panel.
This part is shorter than the others. The ergonomics are largely Cargo-shaped, and most readers will find the surface familiar. We cover what is the same so you can rely on intuition, and what is different so you do not get caught.