Skip to content

chore: bump rand(_core, _chacha) to 0.10#269

Merged
cksac merged 1 commit into
cksac:masterfrom
wuvs:master
Feb 26, 2026
Merged

chore: bump rand(_core, _chacha) to 0.10#269
cksac merged 1 commit into
cksac:masterfrom
wuvs:master

Conversation

@wuvs

@wuvs wuvs commented Feb 18, 2026

Copy link
Copy Markdown
Contributor

0.10 changelog:

  • Rename Rng -> RngExt
  • Rename fn IndexedRandom::choose_multiple -> sample
  • The dependency on rand_chacha has been replaced with a dependency on chacha20. This changes the implementation behind StdRng, but the output remains the same. There may be some API breakage when using the ChaCha-types directly as these are now the ones in chacha20 instead of rand_chacha

@cksac

cksac commented Feb 22, 2026

Copy link
Copy Markdown
Owner

why need RngExt? I would prefer to keep Rng instead

@wuvs

wuvs commented Feb 23, 2026

Copy link
Copy Markdown
Contributor Author

because rand and rand_core renamed Rnd

rust-random/rand#1717

@cksac cksac merged commit b37f1b2 into cksac:master Feb 26, 2026
5 checks passed
@francisdb

Copy link
Copy Markdown

@cksac any chance this could get released? It's blocking the rand update on our project.

@cksac

cksac commented Mar 15, 2026

Copy link
Copy Markdown
Owner

@francisdb released v5.0.0

@francisdb

Copy link
Copy Markdown

There's a regression relate to this: #270

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