Skip to content

fix: fail on transitive unmaintained crates unless explicitly ignored - #342

Open
MaximeGaudin wants to merge 1 commit into
mainfrom
fix/issue-219-unmaintained-all
Open

fix: fail on transitive unmaintained crates unless explicitly ignored#342
MaximeGaudin wants to merge 1 commit into
mainfrom
fix/issue-219-unmaintained-all

Conversation

@MaximeGaudin

Copy link
Copy Markdown
Owner

Summary

  • unmaintained = "workspace" made transitive unmaintained crates pass as notes, so an archived crate sneaking into the tree via a dependency was never flagged.
  • Set unmaintained = "all" and moved the four currently-transitive unmaintained crates into explicit, reasoned, expiry-dated ignore entries: bitmaps / im-rc / sized-chunks (via wasm-compose → wasmtime 43, pinned by extism 1.30) and paste (proc-macro dep of genai 0.6.5). All four are archived upstream with no alternative on our dependency path today.
  • Any new transitive unmaintained crate now fails cargo deny check until it is explicitly ignored with a reason and an expiry date.

Fixes #219

Test plan

  • cargo deny check advisories passes with the new config.
  • Removing the im-rc ignore entry makes the check fail with error[unmaintained]: im-rc is unmaintained — the strictness is real, then restored.
  • CI green on the PR

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.

deny.toml: unmaintained = "workspace" lets transitive unmaintained crates through as warnings only

1 participant