radium-io / sanity

procedurally generated roguelike game written with rust and amethyst
https://wastrel.itch.io/moonsanity
19 stars 0 forks source link

Update Rust crate rand to 0.8.5 #24

Open renovate[bot] opened 3 years ago

renovate[bot] commented 3 years ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
rand (source) dependencies minor 0.7.3 -> 0.8.5

Release Notes

rust-random/rand ### [`v0.8.5`](https://togithub.com/rust-random/rand/blob/HEAD/CHANGELOG.md#​085---2021-08-20) [Compare Source](https://togithub.com/rust-random/rand/compare/0.8.4...0.8.5) ##### Fixes - Fix build on non-32/64-bit architectures ([#​1144](https://togithub.com/rust-random/rand/issues/1144)) - Fix "min_const_gen" feature for `no_std` ([#​1173](https://togithub.com/rust-random/rand/issues/1173)) - Check `libc::pthread_atfork` return value with panic on error ([#​1178](https://togithub.com/rust-random/rand/issues/1178)) - More robust reseeding in case `ReseedingRng` is used from a fork handler ([#​1178](https://togithub.com/rust-random/rand/issues/1178)) - Fix nightly: remove unused `slice_partition_at_index` feature ([#​1215](https://togithub.com/rust-random/rand/issues/1215)) - Fix nightly + `simd_support`: update `packed_simd` ([#​1216](https://togithub.com/rust-random/rand/issues/1216)) ##### Rngs - `StdRng`: Switch from HC128 to ChaCha12 on emscripten ([#​1142](https://togithub.com/rust-random/rand/issues/1142)). We now use ChaCha12 on all platforms. ##### Documentation - Added docs about rand's use of const generics ([#​1150](https://togithub.com/rust-random/rand/issues/1150)) - Better random chars example ([#​1157](https://togithub.com/rust-random/rand/issues/1157)) ### [`v0.8.4`](https://togithub.com/rust-random/rand/blob/HEAD/CHANGELOG.md#​084---2021-06-15) [Compare Source](https://togithub.com/rust-random/rand/compare/0.8.3...0.8.4) ##### Additions - Use const-generics to support arrays of all sizes ([#​1104](https://togithub.com/rust-random/rand/issues/1104)) - Implement `Clone` and `Copy` for `Alphanumeric` ([#​1126](https://togithub.com/rust-random/rand/issues/1126)) - Add `Distribution::map` to derive a distribution using a closure ([#​1129](https://togithub.com/rust-random/rand/issues/1129)) - Add `Slice` distribution ([#​1107](https://togithub.com/rust-random/rand/issues/1107)) - Add `DistString` trait with impls for `Standard` and `Alphanumeric` ([#​1133](https://togithub.com/rust-random/rand/issues/1133)) ##### Other - Reorder asserts in `Uniform` float distributions for easier debugging of non-finite arguments ([#​1094](https://togithub.com/rust-random/rand/issues/1094), [#​1108](https://togithub.com/rust-random/rand/issues/1108)) - Add range overflow check in `Uniform` float distributions ([#​1108](https://togithub.com/rust-random/rand/issues/1108)) - Deprecate `rngs::adapter::ReadRng` ([#​1130](https://togithub.com/rust-random/rand/issues/1130)) ### [`v0.8.3`](https://togithub.com/rust-random/rand/blob/HEAD/CHANGELOG.md#​083---2021-01-25) [Compare Source](https://togithub.com/rust-random/rand/compare/0.8.2...0.8.3) ##### Fixes - Fix `no-std` + `alloc` build by gating `choose_multiple_weighted` on `std` ([#​1088](https://togithub.com/rust-random/rand/issues/1088)) ### [`v0.8.2`](https://togithub.com/rust-random/rand/blob/HEAD/CHANGELOG.md#​082---2021-01-12) [Compare Source](https://togithub.com/rust-random/rand/compare/0.8.1...0.8.2) ##### Fixes - Fix panic in `UniformInt::sample_single_inclusive` and `Rng::gen_range` when providing a full integer range (eg `0..=MAX`) ([#​1087](https://togithub.com/rust-random/rand/issues/1087)) ### [`v0.8.1`](https://togithub.com/rust-random/rand/blob/HEAD/CHANGELOG.md#​081---2020-12-31) [Compare Source](https://togithub.com/rust-random/rand/compare/0.8.0...0.8.1) ##### Other - Enable all stable features in the playground ([#​1081](https://togithub.com/rust-random/rand/issues/1081)) ### [`v0.8.0`](https://togithub.com/rust-random/rand/blob/HEAD/CHANGELOG.md#​080---2020-12-18) [Compare Source](https://togithub.com/rust-random/rand/compare/0.7.3...0.8.0) ##### Platform support - The minimum supported Rust version is now 1.36 ([#​1011](https://togithub.com/rust-random/rand/issues/1011)) - `getrandom` updated to v0.2 ([#​1041](https://togithub.com/rust-random/rand/issues/1041)) - Remove `wasm-bindgen` and `stdweb` feature flags. For details of WASM support, see the [getrandom documentation](https://docs.rs/getrandom/latest). ([#​948](https://togithub.com/rust-random/rand/issues/948)) - `ReadRng::next_u32` and `next_u64` now use little-Endian conversion instead of native-Endian, affecting results on Big-Endian platforms ([#​1061](https://togithub.com/rust-random/rand/issues/1061)) - The `nightly` feature no longer implies the `simd_support` feature ([#​1048](https://togithub.com/rust-random/rand/issues/1048)) - Fix `simd_support` feature to work on current nightlies ([#​1056](https://togithub.com/rust-random/rand/issues/1056)) ##### Rngs - `ThreadRng` is no longer `Copy` to enable safe usage within thread-local destructors ([#​1035](https://togithub.com/rust-random/rand/issues/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](https://togithub.com/rust-random/rand/issues/744), [#​1003](https://togithub.com/rust-random/rand/issues/1003)) - Replace `AsByteSliceMut` with `Fill` and add support for `[bool], [char], [f32], [f64]` ([#​940](https://togithub.com/rust-random/rand/issues/940)) - Restrict `rand::rngs::adapter` to `std` ([#​1027](https://togithub.com/rust-random/rand/issues/1027); see also [#​928](https://togithub.com/rust-random/rand/issues/928)) - `StdRng`: add new `std_rng` feature flag (enabled by default, but might need to be used if disabling default crate features) ([#​948](https://togithub.com/rust-random/rand/issues/948)) - `StdRng`: Switch from ChaCha20 to ChaCha12 for better performance ([#​1028](https://togithub.com/rust-random/rand/issues/1028)) - `SmallRng`: Replace PCG algorithm with xoshiro{128,256}++ ([#​1038](https://togithub.com/rust-random/rand/issues/1038)) ##### Sequences - Add `IteratorRandom::choose_stable` as an alternative to `choose` which does not depend on size hints ([#​1057](https://togithub.com/rust-random/rand/issues/1057)) - Improve accuracy and performance of `IteratorRandom::choose` ([#​1059](https://togithub.com/rust-random/rand/issues/1059)) - Implement `IntoIterator` for `IndexVec`, replacing the `into_iter` method ([#​1007](https://togithub.com/rust-random/rand/issues/1007)) - Add value stability tests for `seq` module ([#​933](https://togithub.com/rust-random/rand/issues/933)) ##### Misc - Support `PartialEq` and `Eq` for `StdRng`, `SmallRng` and `StepRng` ([#​979](https://togithub.com/rust-random/rand/issues/979)) - Added a `serde1` feature and added Serialize/Deserialize to `UniformInt` and `WeightedIndex` ([#​974](https://togithub.com/rust-random/rand/issues/974)) - Drop some unsafe code ([#​962](https://togithub.com/rust-random/rand/issues/962), [#​963](https://togithub.com/rust-random/rand/issues/963), [#​1011](https://togithub.com/rust-random/rand/issues/1011)) - Reduce packaged crate size ([#​983](https://togithub.com/rust-random/rand/issues/983)) - Migrate to GitHub Actions from Travis+AppVeyor ([#​1073](https://togithub.com/rust-random/rand/issues/1073)) ##### Distributions - `Alphanumeric` samples bytes instead of chars ([#​935](https://togithub.com/rust-random/rand/issues/935)) - `Uniform` now supports `char`, enabling `rng.gen_range('A'..='Z')` ([#​1068](https://togithub.com/rust-random/rand/issues/1068)) - Add `UniformSampler::sample_single_inclusive` ([#​1003](https://togithub.com/rust-random/rand/issues/1003)) ##### Weighted sampling - Implement weighted sampling without replacement ([#​976](https://togithub.com/rust-random/rand/issues/976), [#​1013](https://togithub.com/rust-random/rand/issues/1013)) - `rand::distributions::alias_method::WeightedIndex` was moved to `rand_distr::WeightedAliasIndex`. The simpler alternative `rand::distribution::WeightedIndex` remains. ([#​945](https://togithub.com/rust-random/rand/issues/945)) - Improve treatment of rounding errors in `WeightedIndex::update_weights` ([#​956](https://togithub.com/rust-random/rand/issues/956)) - `WeightedIndex`: return error on NaN instead of panic ([#​1005](https://togithub.com/rust-random/rand/issues/1005)) ##### Documentation - Document types supported by `random` ([#​994](https://togithub.com/rust-random/rand/issues/994)) - Document notes on password generation ([#​995](https://togithub.com/rust-random/rand/issues/995)) - Note that `SmallRng` may not be the best choice for performance and in some other cases ([#​1038](https://togithub.com/rust-random/rand/issues/1038)) - Use `doc(cfg)` to annotate feature-gated items ([#​1019](https://togithub.com/rust-random/rand/issues/1019)) - Adjust README ([#​1065](https://togithub.com/rust-random/rand/issues/1065))

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 becomes conflicted, or you tick the rebase/retry checkbox.

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



This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 1 year ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.