Skip to content

chore(deps): batched rust dependency updates (hmac 0.13, sha2 0.11, clap, rand)#121

Merged
lance0 merged 1 commit into
mainfrom
chore/deps-rust-2026-05
May 11, 2026
Merged

chore(deps): batched rust dependency updates (hmac 0.13, sha2 0.11, clap, rand)#121
lance0 merged 1 commit into
mainfrom
chore/deps-rust-2026-05

Conversation

@lance0
Copy link
Copy Markdown
Owner

@lance0 lance0 commented May 11, 2026

Batches four green dependabot updates plus the coupled hmac/sha2 majors into a single review.

What's bumped

Crate From To Notes
hmac 0.12.1 0.13.0 Requires use hmac::KeyInit;new_from_slice moved off the Mac trait
sha2 0.10.x 0.11.0 Pulls digest 0.11; must ship with hmac 0.13
clap 4.6.0 4.6.1 Patch
rand 0.10.0 0.10.1 Patch

Closes #106, #118, #119, #120.

Deferred

#116 password-hash 0.6 — not included. argon2 0.6 is still RC (latest stable is 0.5.x), and bumping password-hash alone creates a dual-version transitive because argon2 0.5 still depends on password-hash 0.5. Will revisit when argon2 0.6 ships stable.

Verification

  • 222 unit + 127 integration + 16 postgres tests green
  • cargo fmt --check + cargo clippy --all-targets -- -D warnings clean
  • HMAC and SHA-256 paths exercised by test_webhook_hmac_* and test_alerting_generic_hmac_* suites — all passing

- hmac 0.12 -> 0.13 and sha2 0.10 -> 0.11 ship together because hmac 0.13
  pulls in digest 0.11 (the crate is locked alongside sha2). Import
  KeyInit explicitly in webhook + generic alerting modules (new_from_slice
  moved off the Mac trait), and qualify the integration test through
  hmac::KeyInit.
- clap 4.6.0 -> 4.6.1 and rand 0.10.0 -> 0.10.1 are patch bumps with no
  API surface changes.

Closes #106, #118, #119, #120.

argon2/password-hash 0.6 deferred: argon2 0.6 is still RC; bumping
password-hash alone (#116) creates a dual-version transitive (argon2 0.5
still pulls password-hash 0.5). Will revisit when argon2 0.6 ships
stable.
@lance0 lance0 merged commit 5e5d3ae into main May 11, 2026
5 checks passed
@lance0 lance0 deleted the chore/deps-rust-2026-05 branch May 11, 2026 16:35
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