# EmbarkStudios/cargo-deny

❌ Cargo plugin for linting your dependencies 🦀

Repository: https://github.com/EmbarkStudios/cargo-deny
Canonical: https://ross.abutalabs.com/products/cargo-deny
Homepage: http://embark.rs
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: cargo, rust, crates, advisories, bans, licenses, cargo-subcommand
Last push: 2026-08-26T10:11:40+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 92, longevity 100
- inputs: {"age_days": 2669, "days_push": 7, "days_rel": 55, "gap_med": 13, "n_releases_24m": 24}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2407, forks 129 (observed 2026-08-28T04:06:44.118283+00:00)

## What it is
cargo-deny is a Cargo plugin (cargo subcommand) for linting Rust dependency graphs. It checks crate licenses against allow/deny lists, bans or duplicates dependencies, and flags crates with known security advisories.

## Use cases
- enforce license compliance across all cargo dependencies
- check rust crates for known security advisories in CI
- ban or duplicate-detect specific crates in a rust workspace
- lint large dependency graphs in a rust project
- run dependency checks as a github action
- generate a deny.toml policy for crate sources and versions

## When to choose
- you maintain a Rust project or workspace and want automated dependency policy enforcement
- you need license auditing (SPDX) and RustSec advisory checks in CI
- you want to ban certain crates, sources, or duplicate versions

## When to avoid
- you need runtime application security testing rather than dependency linting
- your project is not Rust/Cargo based
- you need legal advice on license compliance rather than automated checks

## Facets
- artifact type: cli-tool
- maturity: active
- function: linter, security, dependency-audit, cli, ci-cd
- domain: developer-tools, security, version-control, programming-languages
- platform: rust, cli, windows
- tags: cargo-subcommand, license-compliance, spdx, rustsec-advisories, dependency-management, supply-chain-security, linux, macos, docker

## Member repositories
- EmbarkStudios/cargo-deny (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:44.118283+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:34:04.561417+00:00, confidence not recorded.
  - readme: https://github.com/EmbarkStudios/cargo-deny (fetched 2026-08-28T04:06:44.118283+00:00, sha 816f32904917)
  - homepage: http://embark.rs (fetched 2026-08-29T10:14:19.035512+00:00, sha 3a8ea0dac0f0)
  - registry_crates: https://crates.io/api/v1/crates/cargo-deny (fetched 2026-08-29T10:14:19.038419+00:00, sha 5b13cf7f39d7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
