rust-dependencies
Installation
SKILL.md
Rust Dependency Management and Governance
Authority: Cargo — Specifying Dependencies, Cargo — Dependency Resolution, Cargo — Source Replacement, Cargo — Credentials, cargo-deny, cargo-audit, RustSec.
This skill owns the governance of dependencies: how to declare them safely, what they pull in, who is allowed in, and what to do when one goes wrong. It does not own the Cargo.toml field reference (rust-cargo-build), semver (rust-semver), or workspace topology (rust-workspace).
Capability Boundaries
✅ Strengths
- Choosing the right version requirement (
"1"vs"1.2"vs"=1.2.3") - Evaluating dependency sources (crates.io / git / path / private registry)
- Setting up source replacement for vendored or mirrored registries
- Configuring
cargo-deny(4 tables: advisories, licenses, bans, sources) - Running
cargo-auditand responding to RustSec advisories - Diagnosing dependency cycles and duplicate-version problems via
cargo tree - Setting MSRV-aware resolver behavior
- Automating dependency updates with Renovate / Dependabot
- Establishing supply-chain policy for an organization