ci: add cargo-deny for dependency auditing#82
Merged
Conversation
Contributor
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
kite | e1cbfb0 | Commit Preview URL Branch Preview URL |
Jul 07 2026, 04:25 AM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds
cargo-denyto CI to automatically audit dependencies for security advisories, license compliance, banned/duplicate crates, and crate sources on every PR and push tomain.What's included:
deny.toml(new) — written for the current cargo-deny 0.19.x schema:option-ext).ignorelist acknowledges four advisories that have no MSRV-compatible fix (each with justification):rsaMarvin attack (viarussh, ssh feature) and thetime+quick-xmlDoS advisories (viaplist, whose fixes require Rust 1.88 > the project MSRV of 1.85).[graph] all-features = trueso optional features (gpu, battery, docker, k8s, ssh, prometheus) are audited too..github/workflows/ci.yml— new paralleldenyjob usingEmbarkStudios/cargo-deny-action, pinned by commit SHA (bb137d7= v2.0.20) to match the repo's action-pinning convention.Cargo.lock—cargo updatefor the two fixable yanked crates:aes0.9.0 → 0.9.1 andcrypto-bigint0.7.3 → 0.7.5.time/quick-xmlwere intentionally left unbumped to preserve MSRV 1.85.cargo deny checkpasses locally (advisories, bans, licenses, sources all ok).Related Issues
Closes #32
Type of Change
Checklist
cargo testpassescargo clippy -- -D warningsreports no warningscargo fmthas been applied