Skip to content

Bump rand from 0.9 to 0.10 and sha2 from 0.10 to 0.11#497

Merged
schneems merged 3 commits intomainfrom
schneems/up-deps-2026-apr-14
Apr 14, 2026
Merged

Bump rand from 0.9 to 0.10 and sha2 from 0.10 to 0.11#497
schneems merged 3 commits intomainfrom
schneems/up-deps-2026-apr-14

Conversation

@schneems
Copy link
Copy Markdown
Contributor

Summary

  • Bumps rand from 0.9 to 0.10 — adapts to API change where Rng::sample was removed in favor of Distribution::sample
  • Bumps sha2 from 0.10 to 0.11 — adapts to finalize() returning hybrid-array::Array which no longer implements LowerHex

Closes #494
Closes #495

- rand 0.10: Replace `rng.sample(distribution)` with
  `distribution.sample(&mut rng)` (Rng::sample was removed)
- sha2 0.11: finalize() now returns hybrid-array Array which
  doesn't implement LowerHex, use fold with write! instead
@schneems schneems requested a review from a team as a code owner April 14, 2026 12:21
@schneems schneems enabled auto-merge (squash) April 14, 2026 14:49
@schneems schneems merged commit 2b0bcee into main Apr 14, 2026
7 checks passed
@schneems schneems deleted the schneems/up-deps-2026-apr-14 branch April 14, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants