cargo-deny
/cargo-deny
Uruchamia kontrolę zależności w projektach Rust: licencje, znane podatności, zdublowane pakiety i naprawy w CI.
- Autor
- skyengpro ↗
- Repozytorium
- qr-code ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 07.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 07.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Uruchamia kontrolę zależności w projektach Rust: licencje, znane podatności, zdublowane pakiety i naprawy w CI.
Oryginalny opis (EN)
Run and fix cargo-deny (licenses, RustSec advisories, banned/duplicate crates, sources) for this workspace using deny.toml. Use when adding or upgrading dependencies, when `cargo deny check` or the CI deny job fails, or when asked about dependency policy.
Jak działa
- Fixing failures
Podgląd SKILL.md
---
name: cargo-deny
description: Run and fix cargo-deny (licenses, RustSec advisories, banned/duplicate crates, sources) for this workspace using deny.toml. Use when adding or upgrading dependencies, when `cargo deny check` or the CI deny job fails, or when asked about dependency policy.
---
# cargo-deny
Configuration: `deny.toml` at the repo root. Install once with
`cargo install --locked cargo-deny`.
```sh
cargo deny check # all four checks
cargo deny check licenses # one check
cargo deny check advisories # fetches the RustSec DB (needs network)
cargo deny list # licenses of every crate in the graph
```
## Fixing failures
* **licenses** — a dependency uses a license not in `[licenses].allow`. Check whether it is
permissive and compatible with closed-source apps (MIT/Apache/BSD/ISC/Zlib are fine;
GPL/AGPL/LGPL are not; MPL-2.0 needs a team decision). Prefer replacing the crate. Only
extend `allow` with a reviewed license, never with a per-crate `exceptions` hack unless
the license is crate-specific.
* **advisories** — upgrade the crate (`cargo update -p name`). If no fix exists and the
vulnerable code path is unreachable, add an `ignore = [{ id = "RUSTSEC-…", reason = "…" }]`
entry with a concrete reason and a TODO to remove it.
* **bans / duplicates** — `multiple-versions = "warn"`: try to align versions in
`[workspace.dependencies]` (`cargo tree -d` shows duplicates). Duplicates that come only
from upstream crates are acceptable warnings. `openssl` is banned outright.
* **sources** — only crates.io is allowed. Git dependencies need an explicit
`allow-git` entry and a reason in the PR.
Never silence a check by loosening `deny.toml` without saying why in the commit message.
Wersje
W bazie nie ma innych skilli o nazwie cargo-deny.
Migawka bazy z 13.11.2026 · wersja paczki b996b44bf837 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Podobne skille
- 95rust-security
Sprawdza zależności projektu Rust pod kątem podatności i licencji, egzekwuje polityki cargo-deny i przegląda ostrzeżenia RUSTSEC. - 100rust-security
Sprawdza zależności Rust pod kątem podatności, egzekwuje polityki licencji i źródeł przez cargo-deny i przegląda ogłoszenia RUSTSEC. - 100rust-security
Audytuje zależności Rust pod kątem podatności z RUSTSEC, egzekwuje polityki w cargo-deny i przegląda bezpieczeństwo łańcucha dostaw. - 95rust-supply-chain
Audytuje drzewo zależności Rusta: podatności, licencje, zakazane i zduplikowane crate'y, i zamienia wyniki w decyzje. - 100cargo-workflows
Pomaga w pracy z Cargo w projektach Rust: workspace'y, feature flags, build scripts, cache, budowanie przyrostowe, audyt zależności i konfiguracja CI, w tym cargo nextest, cargo deny i Cargo.lock. - 100rust-dependencies
Zarządza zależnościami Rust na dużą skalę: strategia wersji, licencje, polityki cargo-deny, audyty podatności i automatyczne aktualizacje.