Skip to content

cargo deny#6992

Open
TriplEight wants to merge 2 commits intodani-garcia:mainfrom
TriplEight:pr/3x8_cargo-deny
Open

cargo deny#6992
TriplEight wants to merge 2 commits intodani-garcia:mainfrom
TriplEight:pr/3x8_cargo-deny

Conversation

@TriplEight
Copy link

Add cargo-deny config for supply-chain checks.

Covers advisories (RustSec), license compliance, duplicate detection,
and source allowlist (crates.io only).

License allowlist reflects the full transitive dep tree: MIT, Apache-2.0,
ISC, BSD-*, 0BSD, Unlicense, Zlib, BSL-1.0, MPL-2.0, Unicode-3.0,
LGPL-2.1-or-later (r-efi, Windows-only), CDLA-Permissive-2.0 (webpki-roots).

Three known advisories are ignored:

  • RUSTSEC-2023-0071: rsa Marvin Attack, no upstream fix available
  • RUSTSEC-2025-0134: rustls-pemfile unmaintained, blocked on rustls upgrade
  • RUSTSEC-2026-0049: rustls-webpki CRL bug, fix blocked by rustls 0.21.x chain

Duplicate versions are warned rather than denied - all are transitive.

Run cargo deny in build workflow

Adds a cargo-deny step (EmbarkStudios/cargo-deny-action@v2)
after clippy and fmt, gated to the rust-toolchain matrix channel only.
Wires the outcome into the existing failure summary table.

  Covers advisories (RustSec), license compliance, duplicate detection,
  and source allowlist (crates.io only).

  License allowlist reflects the full transitive dep tree: MIT, Apache-2.0,
  ISC, BSD-*, 0BSD, Unlicense, Zlib, BSL-1.0, MPL-2.0, Unicode-3.0,
  LGPL-2.1-or-later (r-efi, Windows-only), CDLA-Permissive-2.0 (webpki-roots).

  Three known advisories are ignored:
  - RUSTSEC-2023-0071: rsa Marvin Attack, no upstream fix available
  - RUSTSEC-2025-0134: rustls-pemfile unmaintained, blocked on rustls upgrade
  - RUSTSEC-2026-0049: rustls-webpki CRL bug, fix blocked by rustls 0.21.x chain

  Duplicate versions are warned rather than denied — all are transitive.
  Adds a cargo-deny step (EmbarkStudios/cargo-deny-action@v2)
  after clippy and fmt, gated to the rust-toolchain matrix channel only.
  Wires the outcome into the existing failure summary table.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant