NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #77 most downloaded on crates.io
A simple and fast random number generator
Last release 2 months ago
19 Jul 2026
Release timing varies
gaps range from 4 weeks to 1.3 years
Nearly every release is documented
notes for 29 of 29 stable releases
1 version withdrawn
withdrawn after publishing
6 years old
30 releases · first in 2020
One column per quarter.
Update getrandom to 0.4.
getrandom to 0.4. (#131)Fix build failure with js feature.
js feature. (#125)Improve quality of f32/f64 generation.
Accept IntoIterator in choose_multiple functions instead of just Iterator .
IntoIterator in choose_multiple functions instead of just Iterator. (#92)Expose missing fill method for the global RNG.
fill method for the global RNG. (#90)Remove support for 128-bit targets, as they are not supported by rustc yet.
Change the RNG algorithm and the way that the seed is computed. This will cause the algorithm to emit different constants for different seeds, hence t
Slight restructuring of the with_seed function.
with_seed function. (#79)Clarify documentation for the fork() method.
Breaking: Remove interior mutability from Rng .
Rng. (#47)fork() method. (#49)no_std mode. (#50)choose_multiple() function for sampling several elements from an iterator. (#55)getrandom crate for seeding on WebAssembly targets if the js feature is enabled. (#60)Add #[must_use] to Rng::with_seed()
Rng::fill() (#35, #43)#[must_use] to Rng::with_seed() (#46)Add get_seed() and Rng::get_seed()
get_seed() and Rng::get_seed() (#33)- Add char() and Rng::char()
char() and Rng::char() (#25)Implement PartialEq and Eq for Rng
PartialEq and Eq for Rng (#23)- Switch to Wyrand
Fix bug when generating a signed integer within a range
- Add wasm support.
- Reword docs. - Add Rng::with_seed().
Rng::with_seed().- Implement Clone for Rng.
Clone for Rng.- Forbid unsafe code.
- Support older Rust versions.
- Tweak Cargo keywords.
Add lowercase(), uppercase(), alphabetic(), and digit().
f32() and f64().lowercase(), uppercase(), alphabetic(), and digit().- Switch to PCG XSH RR 64/32. - Fix a bug in gen_mod_u128. - Fix bias in ranges.
gen_mod_u128.- Support Rust 1.32.0
Use std::$t::MAX rather than $t::MAX to support older Rust versions.
std::$t::MAX rather than $t::MAX to support older Rust versions.- Inline all functions.
- Add Rng struct.
Rng struct.- Switch to PCG implementation. - Add alphanumeric(). - Add seed().
alphanumeric().seed().- Initial version
Your coding agent can read these notes before it upgrades. Set up the MCP server →