• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Version 2.3.0
2
3- Accept `IntoIterator` in `choose_multiple` functions instead of just `Iterator`. (#92)
4
5# Version 2.2.0
6
7- Expose missing `fill` method for the global RNG. (#90)
8
9# Version 2.1.1
10
11- Remove support for 128-bit targets, as they are not supported by rustc yet. (#87)
12
13# Version 2.1.0
14
15- Change the RNG algorithm and the way that the seed is computed. This will cause
16  the algorithm to emit different constants for different seeds, hence the minor
17  SemVer change.
18  - Update to the final WyRand v4.2 constants for better entropy. (#82)
19  - Remove an unnecessary seed modification. (#73)
20
21# Version 2.0.2
22
23- Slight restructuring of the `with_seed` function. (#79)
24
25# Version 2.0.1
26
27- Clarify documentation for the `fork()` method. (#62)
28- Mention `fastrand-contrib` in documentation. (#70)
29
30# Version 2.0.0
31
32- **Breaking:** Remove interior mutability from `Rng`. (#47)
33- Add a `fork()` method. (#49)
34- Add a `no_std` mode. (#50)
35- Add an iterator selection function. (#51)
36- Add a `choose_multiple()` function for sampling several elements from an iterator. (#55)
37- Use the `getrandom` crate for seeding on WebAssembly targets if the `js` feature is enabled. (#60)
38
39# Version 1.9.0
40
41- Add `Rng::fill()` (#35, #43)
42- Add `#[must_use]` to `Rng::with_seed()` (#46)
43
44# Version 1.8.0
45
46- Add `get_seed()` and `Rng::get_seed()` (#33)
47
48# Version 1.7.0
49
50- Add `char()` and `Rng::char()` (#25)
51
52# Version 1.6.0
53
54- Implement `PartialEq` and `Eq` for `Rng` (#23)
55
56# Version 1.5.0
57
58- Switch to Wyrand (#14)
59
60# Version 1.4.1
61
62- Fix bug when generating a signed integer within a range (#16)
63
64# Version 1.4.0
65
66- Add wasm support.
67
68# Version 1.3.5
69
70- Reword docs.
71- Add `Rng::with_seed()`.
72
73# Version 1.3.4
74
75- Implement `Clone` for `Rng`.
76
77# Version 1.3.3
78
79- Forbid unsafe code.
80
81# Version 1.3.2
82
83- Support older Rust versions.
84
85# Version 1.3.1
86
87- Tweak Cargo keywords.
88
89# Version 1.3.0
90
91- Add `f32()` and `f64()`.
92- Add `lowercase()`, `uppercase()`, `alphabetic()`, and `digit()`.
93
94# Version 1.2.4
95
96- Switch to PCG XSH RR 64/32.
97- Fix a bug in `gen_mod_u128`.
98- Fix bias in ranges.
99
100# Version 1.2.3
101
102- Support Rust 1.32.0
103
104# Version 1.2.2
105
106- Use `std::$t::MAX` rather than `$t::MAX` to support older Rust versions.
107
108# Version 1.2.1
109
110- Inline all functions.
111
112# Version 1.2.0
113
114- Add `Rng` struct.
115
116# Version 1.1.0
117
118- Switch to PCG implementation.
119- Add `alphanumeric()`.
120- Add `seed()`.
121
122# Version 1.0.0
123
124- Initial version
125