Remove wasm-bindgen and stdweb feature flags. For details of WASM support,
see the getrandom documentation. (#948)
ReadRng::next_u32 and next_u64 now use little-Endian conversion instead
of native-Endian, affecting results on Big-Endian platforms (#1061)
The nightly feature no longer implies the simd_support feature (#1048)
Fix simd_support feature to work on current nightlies (#1056)
Rngs
ThreadRng is no longer Copy to enable safe usage within thread-local destructors (#1035)
gen_range(a, b) was replaced with gen_range(a..b). gen_range(a..=b) is
also supported. Note that a and b can no longer be references or SIMD types. (#744, #1003)
Replace AsByteSliceMut with Fill and add support for [bool], [char], [f32], [f64] (#940)
Restrict rand::rngs::adapter to std (#1027; see also #928)
StdRng: add new std_rng feature flag (enabled by default, but might need
to be used if disabling default crate features) (#948)
StdRng: Switch from ChaCha20 to ChaCha12 for better performance (#1028)
SmallRng: Replace PCG algorithm with xoshiro{128,256}++ (#1038)
Sequences
... (truncated)
Commits
8792268 Merge pull request #1137 from rust-random/work2
1bfc53d Update changelogs and bump version numbers
4534311 Merge pull request #1133 from rust-random/work2
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on rand to permit the latest version.
Changelog
Sourced from rand's changelog.
... (truncated)
Commits
8792268
Merge pull request #1137 from rust-random/work21bfc53d
Update changelogs and bump version numbers4534311
Merge pull request #1133 from rust-random/work281f1af8
Correct usage of reservefa17d1c
Add comment to append_string for Standardb4c1d66
Add DistString1947c89
Move Distribution trait and associates to sub-module98a0339
Merge pull request #1135 from dhardy/worka7f8fb7
Prepare rand_chacha v0.3.1 release09d3df3
Merge pull request #1130 from dhardy/workDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)