Skip to content

Prefer RNGs from rand over RNGs from other crates - #98

Merged
vks merged 6 commits into
masterfrom
remove-rand_chacha
May 17, 2026
Merged

Prefer RNGs from rand over RNGs from other crates#98
vks merged 6 commits into
masterfrom
remove-rand_chacha

Conversation

@vks

@vksvks commented May 14, 2026

Copy link
Copy Markdown
Contributor

This replaces rand_chacha and rand_pcg references with RNGs from the rand crate.

Comment threadsrc/contrib-doc.md Outdated
Comment threadsrc/guide-rngs.md Outdated
vks added 5 commits May 16, 2026 15:22
Expand the crate-family diagram from "[other RNG crates]" to enumerate
each rust-random-maintained crate (rand_chacha, rand_hc, rand_isaac,
rand_jitter, rand_pcg, rand_sfc, rand_seeder, rand_xorshift,
rand_xoshiro), and add matching entries to the prose lists.
`getrandom` now depends on `rand_core` (rather than the reverse), and
`rand` depends on `getrandom` via the `sys_rng` feature. Reorganise the
diagram to reflect this.
This was only related to our self-hosted docs, which were removed in
rust-random/rand#1692.
Only they implement the `rand_core` traits.
@vks
vksforce-pushed the remove-rand_chacha branch from 0db0b2f to 0460bbeCompareMay 16, 2026 19:40
@vks

vks commented May 16, 2026

Copy link
Copy Markdown
ContributorAuthor

I addressed your comments, and also updated the crates section, fixing #39.

@vksvks mentioned this pull request May 16, 2026
@vks
vks merged commit 410a418 into masterMay 17, 2026
@vks
vks deleted the remove-rand_chacha branch May 17, 2026 13:03
Sign up for freeto 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.

2 participants

@vks@dhardy