Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rand_core requirement from 0.5 to 0.6 #70

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 15, 2020

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Updates the requirements on rand_core to permit the latest version.

Changelog

Sourced from rand_core's changelog.

[0.6.0] - 2018-11-14

Project organisation

Platforms

  • Add fork protection on Unix (#466)
  • Added support for wasm-bindgen. (#541, #559, #562, #600)
  • Enable OsRng for powerpc64, sparc and sparc64 (#609)
  • Use syscall from libc on Linux instead of redefining it (#629)

RNGs

  • Switch SmallRng to use PCG (#623)
  • Implement Pcg32 and Pcg64Mcg generators (#632)
  • Move ISAAC RNGs to a dedicated crate (#551)
  • Move Xorshift RNG to its own crate (#557)
  • Move ChaCha and HC128 RNGs to dedicated crates (#607, #636)
  • Remove usage of Rc from ThreadRng (#615)

Sampling and distributions

  • Implement Rng.gen_ratio() and Bernoulli::new_ratio() (#491)
  • Make Uniform strictly respect f32 / f64 high/low bounds (#477)
  • Allow gen_range and Uniform to work on non-Copy types (#506)
  • Uniform supports inclusive ranges: Uniform::from(a..=b). This is automatically enabled for Rust >= 1.27. (#566)
  • Implement TrustedLen and FusedIterator for DistIter (#620)

New distributions

  • Add the Dirichlet distribution (#485)
  • Added sampling from the unit sphere and circle. (#567)
  • Implement the triangular distribution (#575)
  • Implement the Weibull distribution (#576)
  • Implement the Beta distribution (#574)

Optimisations

  • Optimise Bernoulli::new (#500)
  • Optimise char sampling (#519)
  • Optimise sampling of std::time::Duration (#583)

Sequences

  • Redesign the seq module (#483, #515)
  • Add WeightedIndex and choose_weighted (#518, #547)
  • Optimised and changed return type of the sample_indices function. (#479)
  • Use Iterator::size_hint() to speed up IteratorRandom::choose (#593)

... (truncated)

Commits
  • 98e220c Merge pull request #1072 from dhardy/work
  • 95fea0e Fix link in README; rename keyword as suggested in #1073
  • 459d863 Prepare rand_chacha 0.3.0 release
  • 15aebf4 Prepare rand_pcg 0.3.0
  • 14c2016 Prepare rand_hc 0.3.0
  • d95dbd2 Prepare rand_core 0.6.0
  • 6682db1 Merge pull request #1073 from rust-random/work2
  • 33b8f37 Address review: use assert_almost_eq macro
  • 354468e Use approximate assertions in value stability and increase some tolerences sl...
  • 33a78de Add cross test (inspired by ndarray CI)
  • Additional commits viewable in compare view

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_core](https://github.com/rust-random/rand) to permit the latest version.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](rust-random/rand@rand_core-0.5.0...rand_core-0.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 15, 2020
@commial
Copy link
Contributor

commial commented Jan 8, 2022

For now, x25519-dalek depends on curve-25519dalek which is using an older rand_core version (see dalek-cryptography/curve25519-dalek#369)

@commial
Copy link
Contributor

commial commented Jan 10, 2022

Fixed by #112

@commial commial closed this Jan 10, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 10, 2022

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_core-0.6 branch January 10, 2022 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant