Skip to main content

Crate dev_deps

Crate dev_deps 

Source
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.toml but 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.
OutdatedDep
An outdated dependency finding.
UnusedDep
An unused dependency finding.

Enums§

DepError
Errors that can arise during a dependency check.
DepScope
Scope of a dependency check.