Releases: smol-rs/fastrand
Releases · smol-rs/fastrand
v2.3.0
- Accept
IntoIterator
in choose_multiple
functions instead of just Iterator
. (#92)
v2.2.0
- Expose missing
fill
method for the global RNG. (#90)
v2.1.1
- Remove support for 128-bit targets, as they are not supported by rustc yet. (#87)
v2.1.0
- 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 the minor
SemVer change.
- Update to the final WyRand v4.2 constants for better entropy. (#82)
- Remove an unnecessary seed modification. (#73)
v2.0.2
- Slight restructuring of the
with_seed
function. (#79)
v2.0.1
- Clarify documentation for the
fork()
method. (#62)
- Mention
fastrand-contrib
in documentation. (#70)
v2.0.0
- Breaking: Remove interior mutability from
Rng
. (#47)
- Add a
fork()
method. (#49)
- Add a
no_std
mode. (#50)
- Add an iterator selection function. (#51)
- Add a
choose_multiple()
function for sampling several elements from an iterator. (#55)
- Use the
getrandom
crate for seeding on WebAssembly targets if the js
feature is enabled. (#60)
v1.9.0
- Add
Rng::fill()
(#35, #43)
- Add
#[must_use]
to Rng::with_seed()
(#46)
v1.8.0
- Add
get_seed()
and Rng::get_seed()
(#33)
v1.7.0
- Add
char()
and Rng::char()
(#25)