chore(deps): update rust crate rand_distr to 0.5 #2089
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.4
->0.5
Release Notes
rust-random/rand (rand_distr)
v0.5.0
Crate features and organisation
rand_core
crate. (#288)rand_derive
. (#256)prelude
(and module reorganisation). (#435)log
feature. Logging is now available inJitterRng
,OsRng
,EntropyRng
andReseedingRng
. (#246)serde1
feature for some PRNGs. (#189)stdweb
feature forOsRng
support on WASM via stdweb. (#272, #336)Rng
traitRng
inRngCore
andRng
extension trait.next_u32
,next_u64
andfill_bytes
are now part ofRngCore
. (#265)Rng::sample
. (#256)Rng::gen_weighted_bool
. (#308)Rng::gen_bool
. (#308)Rng::next_f32
andRng::next_f64
. (#273)Rng::fill
andRng::try_fill
methods. (#247)Rng::gen_iter
. (#286)Rng::gen_ascii_chars
. (#279)rand_core
craterand
now depends on newrand_core
crate (#288)RngCore
andSeedableRng
are now part ofrand_core
. (#288)impl
andle
. (#209, #228)Error
andErrorKind
. (#225)CryptoRng
marker trait. (#273)BlockRngCore
trait. (#281)BlockRng
andBlockRng64
wrappers to help implementations. (#281, #325)SeedableRng
trait. (#233)RngCore::next_u64
andRngCore::fill_bytes
. (#288)RngCore::try_fill_bytes
. (#225)Other traits and types
FromEntropy
trait. (#233, #375)SmallRng
wrapper. (#296)ReseedingRng
to only work withBlockRngCore
(substantial performance improvement). (#281)weak_rng
. UseSmallRng
instead. (#296)AsciiGenerator
. (#279)Random number generators
StdRng
andthread_rng
to HC-128. (#277)StdRng
must now be created withfrom_entropy
instead ofnew
thread_rng
reseeding threshold to 32 MiB. (#277)Copy
. (#209)Debug
implementations no longer show internals. (#209)Clone
forReseedingRng
,JitterRng
, OsRng`. (#383, #384)XorShiftRng
,IsaacRng
andIsaac64Rng
under theserde1
feature. (#189)BlockRngCore
forChaChaCore
andHc128Core
. (#281)Isaac64Rng::next_u32
no longer throws away half the results. (#209)IsaacRng::new_from_u64
andIsaac64Rng::new_from_u64
. (#209)Hc128Rng
. (#210)JitterRng
to get its size down from 2112 to 24 bytes. (#251)Platform support and
OsRng
OsRng
via stdweb, behind thestdweb
feature. (#272, #336)getrandom
on more platforms for Linux, and on Android. (#338)SecRandomCopyBytes
interface on macOS. (#322)OsRng
. (#239)/dev/random
, then/dev/urandom
. (#338)OsRng
(using new error type). (#225)OsRng
now uses non-blocking when available. (#225)EntropyRng
, which providesOsRng
, but hasJitterRng
as a fallback. (#235)Distributions
Distribution
trait. (#256)Distribution::sample_iter
andRng::::sample_iter
. (#361)Rand
,Sample
andIndependentSample
traits. (#256)Standard
distribution (replaces mostRand
implementations). (#256)Binomial
andPoisson
distributions. (#96)Bernoulli
dsitribution. (#411)Alphanumeric
distribution. (#279)Closed01
distribution, addOpenClosed01
. (#274, #420)Range
type, making it possible to implement it for user types. (#274)Range
toUniform
. (#395)Uniform::new_inclusive
for inclusive ranges. (#274)Standard
distribution forchar
usesUniform
internally. (#274)Standard
distribution forbool
uses sign test. (#274)Standard
distribution forWrapping<T>
. (#436)Uniform
distribution forDuration
. (#427)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 was generated by Mend Renovate. View the repository job log.