[package]
name = "cargo-audit"
description = "Audit Cargo.lock for crates with security vulnerabilities"
version = "0.21.0"
authors = ["Tony Arcieri <bascule@gmail.com>"]
license = "Apache-2.0 OR MIT"
homepage = "https://rustsec.org"
repository = "https://github.com/rustsec/rustsec"
readme = "README.md"
categories = ["development-tools::cargo-plugins"]
keywords = ["cargo-subcommand", "security", "audit", "vulnerability"]
edition = "2021"
rust-version = "1.74.0"
exclude = ["tests/"]
[badges]
maintenance = { status = "actively-developed" }
[dependencies]
abscissa_core = { workspace = true }
cargo-lock = { workspace = true }
clap = { workspace = true }
home = { workspace = true }
rustsec = { workspace = true, features = ["dependency-tree"] }
serde = { workspace = true, features = ["serde_derive"] }
serde_json = { workspace = true }
thiserror = { workspace = true }
auditable-info = { workspace = true, features = ["wasm"], optional = true }
auditable-serde = { workspace = true, optional = true }
quitters = { workspace = true, optional = true }
once_cell = { workspace = true, optional = true }
binfarce = { workspace = true, optional = true }
display-error-chain = { workspace = true }
[dev-dependencies]
abscissa_core = { workspace = true, features = ["testing"] }
once_cell = { workspace = true }
tempfile = { workspace = true }
toml = { workspace = true }
[features]
default = ["binary-scanning"]
fix = []
binary-scanning = ["dep:auditable-info", "dep:auditable-serde", "dep:binfarce", "dep:quitters", "dep:once_cell"]