Vinzent Steinberg
d86db46638
Merge branch 'master' into slice-distribution
2021-05-12 14:42:50 -03:00
Vinzent Steinberg
13949eeccd
Update changelog
2021-05-12 13:59:41 -03:00
Diggory Hardy
80172a2071
Changelog for #1104
2021-03-29 10:40:03 +01:00
Diggory Hardy
7b1b2d00b2
Update changelog
2021-03-29 09:48:30 +01:00
Diggory Hardy
8821743325
Prepare 0.8.3
2021-01-25 10:36:09 +00:00
Gautier Minster
2c9085a2de
Bump to 0.8.2 and update changelog
2021-01-13 01:16:20 +02:00
Taiki Endo
e5eec8e650
Prepare rand 0.8.1
2020-12-31 23:10:13 +09:00
Diggory Hardy
d109f1852f
Update changelog for rand v0.8
2020-12-18 15:26:35 +00:00
Diggory Hardy
491014be44
Prepare rand v0.8.0 release
2020-12-14 16:04:34 +00:00
Diggory Hardy
d8f4ec8e3a
Update changelog(s), esp. for rand_core v0.6
2020-10-27 22:10:42 +01:00
Vinzent Steinberg
a61efd90be
Update changelog
2020-10-19 09:15:49 +01:00
Vinzent Steinberg
8e22db5f08
Mention PR number in changelog
2020-09-22 20:06:58 +02:00
Vinzent Steinberg
b2b53f4b88
Disentangle nightly and simd_support feature
...
Now `nightly` can be used without implying `simd_support`. This
hopefully makes the `nightly` feature more stable and improves
compilation time if `simd_support` is not required.
The documentation and changelog were updated accordingly.
2020-09-22 20:06:58 +02:00
Vinzent Steinberg
f5b46d6140
Update changelog
2020-09-15 15:56:00 +02:00
Joseph Richey
85c32ff8e6
Update getrandom to 0.2 ( #1041 )
...
* Update getrandom to 0.2
* Make sure that the error codes are identical to `getrandom`
* rand_core: Add links to Error cross-refs
Signed-off-by: Joe Richey <joerichey@google.com >
Co-authored-by: Vinzent Steinberg <Vinzent.Steinberg@gmail.com >
2020-09-15 03:57:44 -07:00
Diggory Hardy
050c1afcaf
ThreadRng: fix use-after-free in TL-dtor; doc for sized iterators ( #1035 )
...
ThreadRng: fix use-after-free in TL-dtor + doc
* Fixes #986
* Fixes #1022
2020-09-02 10:40:55 +01:00
Vinzent Steinberg
cb2d1e09d3
Update changelog
2020-09-01 14:57:04 +02:00
Vinzent Steinberg
2c6c6b1be1
Update changelog
2020-08-28 15:31:56 +02:00
Vinzent Steinberg
0610312c89
Alphanumeric samples bytes instead of chars
...
The corresponds more closely to the internally used types and can be
easily converted to a `char` via `From` and `Into`, while being more
flexible to use.
This is a breaking change.
2020-08-05 13:25:25 +02:00
Vinzent Steinberg
c4dda363e3
Update changelogs ( #1010 )
2020-08-01 18:43:16 +01:00
Vinzent Steinberg
98b915feed
Change gen_range to accept Range types
...
This adds support for `Rng::range(a..b)` and `Rng::range(a..=b)`,
replacing `Rng::range(a, b)`. `a` and `b` must now implement
`PartialEq`.
This is a breaking change. In most cases, replacing
`Rng::gen_range(a, b)` with `Rng::gen_range(a..b)` should be enough,
however type annotations may be necessary, and `a` and `b` can no longer
be references or SIMD types.
SIMD types are still supported by `UniformSampler::sample_single`.
Some clippy warnings were fixed as well.
2020-08-01 16:09:50 +02:00
Kaz Wesley
4b99567b56
impl PartialEq, Eq for rngs ( #979 )
...
Implements #974 . As in #975 , but defining equality such that the user is
not exposed to the fact that one logical state may have different
representations in an implementation-specific way.
2020-05-29 09:40:09 +01:00
CGMossa
7ede440385
Added serde1 feature to Serialize/Deserialize WeightedIndex ( #974 )
...
Re-enable serde1 for all distributions, StepRng and IndexVec
2020-05-18 09:24:26 +01:00
vallentin
3b169844ba
Fixed misspellings
2020-02-07 06:56:03 +01:00
Diggory Hardy
0f4e152c1c
Prepare rand 0.7.3 release
2020-01-09 15:17:04 +00:00
Diggory Hardy
ae3a416ecc
Fix #911 : use Once instead of AtomicBool
2020-01-08 14:52:55 +00:00
Diggory Hardy
a67173ef63
make libc dependency optional (fork protection requires std)
2020-01-08 14:46:14 +00:00
Diggory Hardy
93fad32420
Bernoulli distribution: error on denom==0 and NaN
2020-01-01 12:17:02 +00:00
kennytm
68816c70ba
Update CHANGELOG.
2019-12-24 05:08:20 +08:00
Diggory Hardy
98ae5180ea
Address review
2019-09-26 08:37:36 +01:00
Diggory Hardy
54a57b8e2b
Add policy on yanked crates, add explanation for rand 0.7.1
...
Closes #893
2019-09-25 09:11:17 +01:00
Diggory Hardy
5ac4cbd38c
Prepare rand 0.7.2
2019-09-16 20:45:30 +01:00
Diggory Hardy
54d5d7378b
Prepare rand 0.7.1
2019-09-13 11:55:37 +01:00
Taiki Endo
918765da87
Apply requested changes
2019-08-23 05:59:05 +09:00
Ruben De Smet
ddd45ed5c5
Add no_std fix to changelog.
2019-07-20 16:58:27 +02:00
Vinzent Steinberg
84d9be45f0
Bump version and changelog to 0.7.0
2019-06-27 15:38:19 +02:00
Vinzent Steinberg
ee2edd3604
rand: Mention removed serde1 feature in changelog
2019-06-25 14:00:04 +02:00
Diggory Hardy
ade207b957
Review feedback
2019-06-24 10:23:12 +01:00
Diggory Hardy
29822a71ff
Add changelog for 0.7
2019-06-22 20:13:55 +01:00
Diggory Hardy
5331b3e2bc
Prepare rand 0.7.0-pre-0
2019-06-05 14:29:00 +01:00
Rob Donnelly
57181a9cb6
Fix typo
2019-03-04 09:17:18 -08:00
Diggory Hardy
4ca5ee360f
rand_jitter: bump version number to 0.1.3
2019-02-04 10:52:19 +00:00
Diggory Hardy
625411cc00
Update changelog for 0.6.5
2019-01-27 09:49:25 +00:00
Erick Tryzelaar
1d0d26ca95
Bump version, and document fuchsia_cprng change
2019-01-25 08:22:58 -08:00
Diggory Hardy
1d07496d87
Fix changelogs and bump rand_os version number
2019-01-08 12:42:31 +00:00
Diggory Hardy
514248197b
Merge remote-tracking branch 'origin/master' and update changelog
2019-01-08 12:36:05 +00:00
Diggory Hardy
e1e400512c
Update changelog
2019-01-08 12:29:42 +00:00
Diggory Hardy
26c0ca56f8
Bump version number: 0.6.4
2019-01-08 10:39:57 +00:00
Diggory Hardy
88f36aa3a5
Bump version number and changelog
2019-01-04 16:49:02 +00:00
Diggory Hardy
3b7cf7a1e8
Prepare rand version 0.6.2 release
2019-01-03 14:43:06 +00:00