blob: 46938fbd3c9c0354507f8b4c5ec5c3d96165dc8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
# Version 1.8.0
- Add `get_seed()` and `Rng::get_seed()` (#33)
# Version 1.7.0
- Add `char()` and `Rng::char()` (#25)
# Version 1.6.0
- Implement `PartialEq` and `Eq` for `Rng` (#23)
# Version 1.5.0
- Switch to Wyrand (#14)
# Version 1.4.1
- Fix bug when generating a signed integer within a range (#16)
# Version 1.4.0
- Add wasm support.
# Version 1.3.5
- Reword docs.
- Add `Rng::with_seed()`.
# Version 1.3.4
- Implement `Clone` for `Rng`.
# Version 1.3.3
- Forbid unsafe code.
# Version 1.3.2
- Support older Rust versions.
# Version 1.3.1
- Tweak Cargo keywords.
# Version 1.3.0
- Add `f32()` and `f64()`.
- Add `lowercase()`, `uppercase()`, `alphabetic()`, and `digit()`.
# Version 1.2.4
- Switch to PCG XSH RR 64/32.
- Fix a bug in `gen_mod_u128`.
- Fix bias in ranges.
# Version 1.2.3
- Support Rust 1.32.0
# Version 1.2.2
- Use `std::$t::MAX` rather than `$t::MAX` to support older Rust versions.
# Version 1.2.1
- Inline all functions.
# Version 1.2.0
- Add `Rng` struct.
# Version 1.1.0
- Switch to PCG implementation.
- Add `alphanumeric()`.
- Add `seed()`.
# Version 1.0.0
- Initial version
|