Expand description
§dev-deps
Dependency health checking for Rust. Detects unused, outdated, and
policy-violating dependencies. Part of the dev-* verification suite.
Wraps cargo-udeps (unused dependencies) and cargo-outdated
(out-of-date versions). Emits findings as dev-report::Report.
§What it checks
- Unused dependencies: declared in
Cargo.tomlbut never imported. - Outdated versions: a newer version exists on crates.io.
- Major-version lag: how many major versions behind we are.
§Quick example
use dev_deps::{DepCheck, DepScope};
let check = DepCheck::new("my-crate", "0.1.0").scope(DepScope::All);
let result = check.execute().unwrap();
let report = result.into_report();§Status
Pre-1.0. API shape defined; subprocess integration lands in 0.9.1.
Structs§
- DepCheck
- Configuration for a dependency check.
- DepResult
- Result of a dependency check.
- Outdated
Dep - An outdated dependency finding.
- Unused
Dep - An unused dependency finding.