Skip to content

chore: move pin-project-lite off its yanked release so cargo-deny passes - #370

Merged
kitlangton merged 1 commit into
devfrom
unyank-pin-project-lite
Dec 2, 2026
Merged

kitlangton merged 1 commit into
devfrom
unyank-pin-project-lite

Conversation

@kitlangton

Copy link
Copy Markdown
Contributor

Every pull request's cargo-deny check went red today; this turns it green again.
A small library Deadbolt gets through its dependencies (pin-project-lite) shipped a bug fix and withdrew ("yanked") all its older releases, including the one our lockfile names. Nothing in Deadbolt's own code changes.

🔍 Origin: the cargo-deny job failing on #369, an extension-only change. It will fail the same way on any branch, and on dev's next push.

❌ Before

  1. Cargo.lock pins pin-project-lite 0.2.17.
  2. ❌ Its author withdrew 0.2.17 on 2 December, along with every other 0.2.x release before 0.2.19.
  3. ❌ cargo deny check refuses a lockfile that names a withdrawn release: error[yanked]: detected yanked crate.

✅ After

  1. Cargo.lock pins 0.2.19, the one release that isn't withdrawn. It fixes cases where the library's macro accepted code it should have refused (upstream issue).
  name = "pin-project-lite"
- version = "0.2.17"
+ version = "0.2.19"

📊 Proof

cargo deny check Before After
advisories ❌ FAILED (yanked crate) ✅ ok
bans, licenses, sources ✅ ok ✅ ok

👀 Read: nothing to read: two lines of Cargo.lock (the version and its checksum). The release is a few hours old, so the thing to weigh is whether to take it today; the alternative is a red cargo-deny on every PR until it's taken.

🔍 Not built or tested here; CI's Rust jobs are the check · the release was published by the upstream repo's own release workflow, from a tagged commit

pin-project-lite 0.2.19 fixes an unsoundness in its macro's parsing, and
every earlier 0.2.x release was yanked with it, so `cargo deny check`
fails on the lockfile's 0.2.17 for every branch.

`cargo update -p pin-project-lite --precise 0.2.19`; nothing else moves.
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