macOS
brew install cargo-denylocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für cargo-deny in AI-Agent-Workflows.
Installation
brew install cargo-denylocal Homebrew formula metadata
sudo apk add cargo-denyAlpine Linux edge package indexes · cargo-deny · Quelle: dl-cdn.alpinelinux.org
sudo dnf install cargo-denyFedora Rawhide package metadata · cargo-deny · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#cargo-denynixpkgs package indexes · pkgs/by-name/ca/cargo-deny/package.nix · Quelle: api.github.com
sudo pacman -S cargo-denyArch Linux sync databases · cargo-deny · Quelle: geo.mirror.pkgbuild.com
Überblick
Cargo plugin for linting your dependencies
Verlauf
cargo-deny is an Embark Studios Cargo plugin for linting Rust dependency graphs. It checks advisories, license policy, banned crates, duplicate versions, and allowed package sources from a project-level deny.toml file.
Embark Studios created the repository and published the crate in May 2019. The README frames cargo-deny as an open-source release of a tool Embark uses internally, with a dedicated book for in-depth documentation.
The project grew into one of the standard Rust dependency-policy tools, with docs organized around checks for licenses, bans, advisories, and sources. Its repository topics and README both present it as a Cargo subcommand for dependency linting.
cargo-deny has broad adoption for Rust CI because it covers policy decisions that Cargo itself intentionally does not enforce: which licenses are acceptable, whether multiple versions are allowed, whether vulnerable advisories should fail builds, and which registries or git sources are trusted.
The tool is packaged in apk, Homebrew, dnf, Nix, and pacman, and crates.io metadata shows more than four million downloads by June 2026. The README also points to cargo-deny-action for GitHub Actions use.
The quickstart is `cargo install --locked cargo-deny && cargo deny init && cargo deny check`. The init command creates a deny.toml template in the current working directory unless a path is supplied.
Users commonly run `cargo deny check` in CI, or run targeted checks such as `cargo deny check licenses`, `cargo deny check bans`, `cargo deny check advisories`, and `cargo deny check sources`.
cargo-deny is package-nerd infrastructure because it makes dependency policy executable. Instead of tracking license allowlists, source restrictions, duplicate-version rules, and advisories in prose, teams can encode them in deny.toml and fail builds consistently.
It is also an example of Cargo's external-tool model handling ecosystem governance concerns without bloating Cargo itself.
Sicherheitslage
Für cargo-deny wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
<cwd>/deny.tomlExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
cargo-deny | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/EmbarkStudios/cargo-deny
Installationsmetadaten
| Paketschlüssel | brew:cargo-deny |
|---|---|
| Version | 0.20.2 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/cargo-deny |
| Homepage | https://github.com/EmbarkStudios/cargo-deny |
| Repository | https://github.com/EmbarkStudios/cargo-deny |
| Upstream-Dokumentation | https://embarkstudios.github.io/cargo-deny |
| Lizenz | Apache-2.0 OR MIT |
| Quellarchiv | https://github.com/EmbarkStudios/cargo-deny/archive/refs/tags/0.20.2.tar.gz |
| Zuletzt aktualisiert | 2026-07-09T22:03:47Z |
| Pulse | updated |
| Build-Abhängigkeiten | pkgconf, rust |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cargo-deny |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
cargo-deny
nix profile install nixpkgs#cargo-denycargo-deny 0.18.6-r0
Cargo plugin for linting your dependencies
https://github.com/EmbarkStudios/cargo-deny
sudo apk add cargo-denycargo-deny 0.18.9-5.fc45
Cargo plugin to help you manage large dependency graphs
https://crates.io/crates/cargo-deny
sudo dnf install cargo-denycargo-deny 0.19.8-1
Cargo plugin for linting your dependencies
https://github.com/EmbarkStudios/cargo-deny
sudo pacman -S cargo-denyQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.