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.1 to 0.6.0 in /src/main #1055

Closed

Conversation

dependabot[bot]
Copy link
Contributor

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

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.1...rand_core-0.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 15, 2020

The following labels could not be found: Component: Dependencies.

@stevenengler stevenengler added the Component: Build Build/install tools and dependencies label Dec 15, 2020
@stevenengler
Copy link
Contributor

Both rand_core and rand_chacha from #1054 must be updated simultaneously. I don't think this is possible with dependabot, so will probably need to make a new PR to update these libraries.

@stevenengler
Copy link
Contributor

stevenengler commented Dec 15, 2020

I think this is also blocked on rust-random/rand#1076, so we should just leave this update for a week or two.

@stevenengler stevenengler added the Status: Blocked Progress depends on completing other work first label Dec 16, 2020
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 21, 2020

OK, I won't notify you again about this release, but will get in touch when a new version is available.

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/src/main/dev/rand_core-0.6.0 branch December 21, 2020 19:04
@stevenengler stevenengler removed the Status: Blocked Progress depends on completing other work first label Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Build Build/install tools and dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant