Skip to main content

Crate deps_cli

Crate deps_cli 

Source
Expand description

Library surface for deps-cli’s check subcommand.

Split out from main.rs so integration tests can drive the walk/classify/report pipeline directly, without spawning a subprocess. Every version verdict is produced by calling into deps_engine::classify and deps_core::Ecosystem::generate_diagnostics — the identical path deps-lsp uses — so this crate never reimplements outdated/yanked/ vulnerable/unsatisfiable/deprecated classification itself (spec 062 FR-005).

Modules§

cli
Command-line argument surface for the deps-cli binary.
config
CliConfig and deps.toml loading.
exit
Exit-code mapping (FR-011, FR-012): 0 clean, 1 policy violation, 2 execution error.
format
Output formatters for a crate::report::CheckReport (FR-006, FR-007).
report
CheckReport/CheckFinding/Category/FailOnPolicy and the classification orchestrator that assembles one manifest’s deps_core::VersionData.
walk
Directory walk and ecosystem routing (FR-001 through FR-004).