Skip to content

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

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

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

Conversation

@wuvs
Copy link
Copy Markdown
Contributor

@wuvs wuvs commented Feb 18, 2026

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
Copy link
Copy Markdown
Owner

cksac commented Feb 22, 2026

why need RngExt? I would prefer to keep Rng instead

@wuvs
Copy link
Copy Markdown
Contributor Author

wuvs commented Feb 23, 2026

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
Copy link
Copy Markdown
Owner

cksac commented Mar 15, 2026

@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