Skip to content

Releases: smol-rs/fastrand

v2.3.0

08 Dec 16:27
v2.3.0
Compare
Choose a tag to compare
  • Accept IntoIterator in choose_multiple functions instead of just Iterator. (#92)

v2.2.0

08 Nov 01:44
v2.2.0
Compare
Choose a tag to compare
  • Expose missing fill method for the global RNG. (#90)

v2.1.1

23 Aug 23:48
v2.1.1
Compare
Choose a tag to compare
  • Remove support for 128-bit targets, as they are not supported by rustc yet. (#87)

v2.1.0

27 Apr 23:07
v2.1.0
Compare
Choose a tag to compare
  • 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

24 Mar 03:41
v2.0.2
Compare
Choose a tag to compare
  • Slight restructuring of the with_seed function. (#79)

v2.0.1

25 Sep 17:41
387e3ba
Compare
Choose a tag to compare
  • Clarify documentation for the fork() method. (#62)
  • Mention fastrand-contrib in documentation. (#70)

v2.0.0

09 Jun 01:59
6315dd1
Compare
Choose a tag to compare
  • 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

14 Feb 03:05
675fa42
Compare
Choose a tag to compare
  • Add Rng::fill() (#35, #43)
  • Add #[must_use] to Rng::with_seed() (#46)

v1.8.0

23 Jul 17:16
Compare
Choose a tag to compare
  • Add get_seed() and Rng::get_seed() (#33)

v1.7.0

22 Jan 07:04
Compare
Choose a tag to compare
  • Add char() and Rng::char() (#25)