What it does
dev-security wraps two best-in-class Rust security tools and emits
results as dev-report::Report:
cargo-auditscans your dependency tree against the RustSec advisory database for known CVEs.cargo-denyenforces policy: allowed/banned licenses, allowed/ banned crates, allowed/banned sources, multiple-version detection.
Together they cover the audit surface most production Rust projects care about.
Quick start
[]
= "0.9"
use ;
let run = new.scope;
let result = run.execute?;
let report = result.into_report;
if report.failed
# Ok::
Requirements
Scopes
| Scope | What it runs |
|---|---|
Vulnerabilities |
cargo-audit only (RustSec advisory DB). |
Policy |
cargo-deny only (licenses, banned crates, sources). |
All |
Both. |
The dev-* suite
See dev-tools for the
full suite.
Status
v0.9.0 is the foundation release: API shape defined, subprocess
integration lands in 0.9.1. Production use is discouraged until
1.0.
Minimum supported Rust version
1.85 — pinned in Cargo.toml and verified by CI.
License
Apache-2.0. See LICENSE.