Harden dependency policy with strict cargo-deny and CI enforcement#45
Merged
Harden dependency policy with strict cargo-deny and CI enforcement#45
Conversation
…Add a new `deny.toml` configuration for license and advisory management. Update `Cargo.toml` for `bench-support` and ensure consistent versioning across dependencies.
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.
Summary
deny.tomlwith strict policy checks across advisories, bans, licenses, and sources.cargo-denyjob runningcargo deny check all.maintenance.ymlto run weekly dependency-policy drift checks withcargo-denyand keep a latest-stable workspace smoke test.wildcards = "deny") by adding explicitversionfields on local path dependencies.MIT/Apache-2.0) with minimal targeted exceptions for unavoidable transitive licenses (unicode-ident+foldhash).Why
deny.toml) instead of split checks.Key Files Changed
.github/workflows/ci.yml.github/workflows/maintenance.ymldeny.toml(new)Cargo.tomlbench-support/Cargo.tomlTest Plan
cargo deny check licensescargo deny check banscargo deny check sourcesCI / Cargo DenyMaintenance / Dependency Policy (cargo-deny)(on schedule/manual run)Notes
security-auditbehavior is now covered bycargo-denyadvisories checks.deny.toml.