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