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 Rust crate rand to v0.8.5 #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 5, 2024

This PR contains the following updates:

Package Type Update Change
rand (source) dependencies patch 0.8.1 -> 0.8.5

Release Notes

rust-random/rand (rand)

v0.8.5

Compare Source

Fixes
  • Fix build on non-32/64-bit architectures (#​1144)
  • Fix "min_const_gen" feature for no_std (#​1173)
  • Check libc::pthread_atfork return value with panic on error (#​1178)
  • More robust reseeding in case ReseedingRng is used from a fork handler (#​1178)
  • Fix nightly: remove unused slice_partition_at_index feature (#​1215)
  • Fix nightly + simd_support: update packed_simd (#​1216)
Rngs
  • StdRng: Switch from HC128 to ChaCha12 on emscripten (#​1142).
    We now use ChaCha12 on all platforms.
Documentation
  • Added docs about rand's use of const generics (#​1150)
  • Better random chars example (#​1157)

v0.8.4

Compare Source

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)

v0.8.3

Compare Source

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

v0.8.2

Compare Source

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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from Clivern as a code owner May 5, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants