Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Bump rand from 0.6.5 to 0.8.4 #35

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 10, 2021

Bumps rand from 0.6.5 to 0.8.4.

Changelog

Sourced from rand's changelog.

[0.8.4] - 2021-06-15

Additions

  • Use const-generics to support arrays of all sizes (#1104)
  • Implement Clone and Copy for Alphanumeric (#1126)
  • Add Distribution::map to derive a distribution using a closure (#1129)
  • Add Slice distribution (#1107)
  • Add DistString trait with impls for Standard and Alphanumeric (#1133)

Other

  • Reorder asserts in Uniform float distributions for easier debugging of non-finite arguments (#1094, #1108)
  • Add range overflow check in Uniform float distributions (#1108)
  • Deprecate rngs::adapter::ReadRng (#1130)

[0.8.3] - 2021-01-25

Fixes

  • Fix no-std + alloc build by gating choose_multiple_weighted on std (#1088)

[0.8.2] - 2021-01-12

Fixes

  • Fix panic in UniformInt::sample_single_inclusive and Rng::gen_range when providing a full integer range (eg 0..=MAX) (#1087)

[0.8.1] - 2020-12-31

Other

  • Enable all stable features in the playground (#1081)

[0.8.0] - 2020-12-18

Platform support

  • The minimum supported Rust version is now 1.36 (#1011)
  • getrandom updated to v0.2 (#1041)
  • 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
  • 81f1af8 Correct usage of reserve
  • fa17d1c Add comment to append_string for Standard
  • b4c1d66 Add DistString
  • 1947c89 Move Distribution trait and associates to sub-module
  • 98a0339 Merge pull request #1135 from dhardy/work
  • a7f8fb7 Prepare rand_chacha v0.3.1 release
  • 09d3df3 Merge pull request #1130 from dhardy/work
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Sep 10, 2021
@dependabot dependabot bot force-pushed the dependabot/cargo/rand-0.8.4 branch 2 times, most recently from 17cbb9b to 75eef89 Compare September 14, 2021 07:44
Bumps [rand](https://github.com/rust-random/rand) from 0.6.5 to 0.8.4.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](rust-random/rand@0.6.5...0.8.4)

---
updated-dependencies:
- dependency-name: rand
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/rand-0.8.4 branch from 75eef89 to 09bf2a3 Compare September 16, 2021 02:01
@thomaseizinger
Copy link
Contributor

Can't do this unless secp256k1 updates to rand 0.8. That is in the pipeline though! rust-bitcoin/rust-secp256k1#331

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 20, 2021

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/rand-0.8.4 branch September 20, 2021 03:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant