rust-crate-architecture
Installation
SKILL.md
Rust Crate Architecture
This skill decides which crates exist, which crate may depend on which, and
whether new code needs a crate or a module. The cargo-workflows skill owns
manifests, dependency inheritance, profiles, features, lockfile policy,
cross-compilation, and build commands. The rust-code-style skill owns module
file layout, the lib.rs re-export policy, and visibility levels. Use them
together when they are installed.
Read the graph from cargo
A workspace changes faster than its documentation. Before you move a crate, read the current graph from cargo, not from a diagram.
# Members, manifest paths, versions, features, and targets.
cargo metadata --locked --no-deps --format-version 1