Skip to content

Bump rand from 0.7.3 to 0.8.5

Ruben De Smet requested to merge dependabot-cargo-rand-0.8.5 into master

Bumps rand from 0.7.3 to 0.8.5.

Changelog

Sourced from rand's changelog.

[0.8.5] - 2021-08-20

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)

[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,

... (truncated)

Commits
  • 937320c Update CHANGELOG for 0.8.5 (#1221)
  • 2924af6 Merge pull request #1183 from vks/fill-float-doc
  • dbbc1bf Merge pull request #1218 from Will-Low/master
  • 9f20df0 Making distributions comparable by deriving PartialEq. Tests included
  • a407bdf Merge pull request #1216 from rust-random/work5
  • d3ca11b Update to packed_simd_2 0.3.7
  • fa04c15 Merge pull request #1215 from Lantern-chat/master
  • 73f8ffd Remove unused slice_partition_at_index feature
  • 8f37250 Merge pull request #1208 from newpavlov/rand_distr/fix_no_std
  • 9ef737b update changelog
  • Additional commits viewable in compare view

Merge request reports