Skip to content

chacha20 v0.10.0#534

Merged
tarcieri merged 1 commit into
masterfrom
chacha20/v0.10.0
Feb 7, 2026
Merged

chacha20 v0.10.0#534
tarcieri merged 1 commit into
masterfrom
chacha20/v0.10.0

Conversation

@tarcieri

@tarcieri tarcieri commented Feb 6, 2026

Copy link
Copy Markdown
Member

Added

  • rand_core v0.10 support (#333, #513)
  • 64-bit counter support (#439)
  • {get,set}_block_pos inherent methods (#516)
  • AVX-512 backend - requires --cfg chacha20_avx512 to enable (#477)
  • Inherent methods for RNG state (de)serialization (#541)

Changed

  • Bump cipher from 0.4 to 0.5 - replaces generic-array with hybrid-array (#338, #521)
  • Edition changed to 2024 and MSRV bumped to 1.85 (#397)
  • Relax MSRV policy and allow MSRV bumps in patch releases
  • Bump cpufeatures to v0.3 (#530)
  • --cfg chacha20_backend="..." replaces previous chacha20_force* (#520)
    • chacha20_force_avx2 => chacha20_backend="avx2"
    • chacha20_force_avx512 => chacha20_backend="avx512"
    • chacha20_force_soft => chacha20_backend="soft"
    • chacha20_force_sse2 => chacha20_backend="sse2"

Removed

  • chacha20_force_neon cfg attribute - now on-by-default for supported targets (#361)
  • std feature (#397)
  • Clone impls (#462)

@tarcieri tarcieri requested a review from newpavlov February 6, 2026 20:00
@tarcieri

tarcieri commented Feb 6, 2026

Copy link
Copy Markdown
Member Author

cc @dhardy

@newpavlov newpavlov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's worth to merge #535 before this.

Comment thread chacha20/CHANGELOG.md Outdated
@newpavlov

Copy link
Copy Markdown
Member

BTW I think we forgot to add inherent methods for (de)serialization of RNG types as was discussed in rust-random/rand#1101.

@tarcieri

tarcieri commented Feb 6, 2026

Copy link
Copy Markdown
Member Author

Sounds like a purely additive change. I don't think it's worth blocking the release over

@newpavlov

Copy link
Copy Markdown
Member

Yes, but I think it would be nice to make it part of this release. I could try to implement it tomorrow.

@dhardy

dhardy commented Feb 7, 2026

Copy link
Copy Markdown
Contributor

Yes, this looks good to go.

@tarcieri

tarcieri commented Feb 7, 2026

Copy link
Copy Markdown
Member Author

Rebased on #541 with updated date

@tarcieri tarcieri merged commit 23f4f70 into master Feb 7, 2026
57 checks passed
@tarcieri tarcieri deleted the chacha20/v0.10.0 branch February 7, 2026 15:10
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.

3 participants