cargo
Installation
SKILL.md
Cargo — Rust's Package Manager In-Depth Reference
Comprehensive reference for the cargo CLI (https://doc.rust-lang.org/cargo/), covering the manifest format, dependency specification, the features system and resolver, workspaces, build profiles, build scripts, configuration, registries and publishing, environment variables, the lockfile and cache layout, and the full command reference.
Data Flow
Cargo.toml (manifest)
→ dependency resolver (registry index + Cargo.lock)
→ fetch (registry cache / git / path / vendor)
→ build scripts (build.rs, OUT_DIR)
→ rustc / rustdoc (per profile, per target)
→ target/<profile>/ (artifacts)
→ run / test / bench / install
Sub-Resources
Load the reference that matches your task. When in doubt, load multiple references.