Repository navigation
fix(deps): update rust crate rand to 0.10 - #883
Merged
Merged
Conversation
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
7 times, most recently
from
March 1, 2025 18:12
d8866f1 to
9f1969f
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
2 times, most recently
from
March 11, 2025 15:23
3ef717c to
68f125d
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
4 times, most recently
from
April 5, 2025 02:37
99da2b9 to
115b428
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
3 times, most recently
from
April 10, 2025 18:54
9fbaef7 to
0619ba7
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
from
May 15, 2025 20:14
0619ba7 to
eb9ccef
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
from
May 24, 2025 00:08
eb9ccef to
7ba72dd
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
from
June 18, 2025 22:33
7ba72dd to
8bb7f3f
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
from
July 2, 2025 11:57
8bb7f3f to
f91a23d
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
10 times, most recently
from
August 11, 2025 15:03
d7bd894 to
7cc950b
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
from
August 13, 2025 17:49
7cc950b to
9fdb870
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
2 times, most recently
from
September 14, 2025 18:48
7f75364 to
038591d
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
4 times, most recently
from
January 15, 2026 19:27
5ae0c5f to
9a27977
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
from
January 18, 2026 16:24
9a27977 to
14ef66e
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
2 times, most recently
from
February 8, 2026 17:31
6ec34c9 to
7cfe532
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
from
February 25, 2026 10:42
7cfe532 to
800d4b8
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
from
March 13, 2026 11:02
800d4b8 to
c332258
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
from
April 11, 2026 12:31
c332258 to
d3c64ae
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
from
May 18, 2026 12:51
d3c64ae to
dbdbcbb
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
from
July 2, 2026 09:55
dbdbcbb to
e99a1f4
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
from
July 20, 2026 21:06
e99a1f4 to
74126ec
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
2 times, most recently
from
August 12, 2026 03:39
4b62128 to
bdb639f
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
from
August 26, 2026 16:07
bdb639f to
c216c07
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
from
September 3, 2026 00:53
c216c07 to
0c62b31
Compare
renovate
Bot
force-pushed
the
renovate/rand-0.x
branch
from
September 20, 2026 10:18
0c62b31 to
f61726f
Compare
maxjoehnk
force-pushed
the
renovate/rand-0.x
branch
from
September 27, 2026 13:39
f61726f to
5ab4c56
Compare
Contributor
Author
Edited/Blocked NotificationRenovate 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.8→0.10Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
rust-random/rand (rand)
v0.10.3Compare Source
Fixes
WeightedIndexpanic when the sum of float weights is infinite; returnError::Overflowinstead (#1808)Error::NonFinitefromUniform::new_inclusiveon large finite float ranges such as0.0..=f64::MAX(#1821)Uniform<char>(#1831)Changes
WeightedIndex::weights()and reduce overhead when reading weights (#1838)v0.10.2Compare Source
Fixes
UniformCharfrom bad source (#1790)Changes
partial_shuffleand apply#[must_use](#1769)unsafein contexts where non-local memory corruption could invalidate contract (#1791)v0.10.1Compare Source
This release includes a fix for a soundness bug; see #1763.
Changes
make_rngand add#[track_caller](#1761)log(#1763)v0.10.0Compare Source
Changes
rand_chachahas been replaced with a dependency onchacha20. This changes the implementation behindStdRng, but the output remains the same. There may be some API breakage when using the ChaCha-types directly as these are now the ones inchacha20instead ofrand_chacha(#1642).IndexedRandom::choose_multiple->sample,choose_multiple_array->sample_array,choose_multiple_weighted->sample_weighted, structSliceChooseIter->IndexedSamplesand fnsIteratorRandom::choose_multiple->sample,choose_multiple_fill->sample_fill(#1632)Fillbe implemented for element types, not sliceable types (#1652)OsError::raw_os_erroron UEFI targets by returningOption<usize>(#1665)TryRngCore::read_adapter(..) -> RngReadAdapterwith simpler structRngReader(#1669)SeedableRng::from_os_rng,try_from_os_rng(#1674)Clonesupport forStdRng,ReseedingRng(#1677)postcardinstead ofbincodeto test the serde feature (#1693)IteratorRandom::samplewhenamountis much larger than iterator size (#1695)os_rng->sys_rng,OsRng->SysRng,OsError->SysError(#1697)Rng->RngExtas upstreamrand_corehas renamedRngCore->Rng(#1717)Additions
IndexedRandom::choose_iter,choose_weighted_iter(#1632)Xoshiro128PlusPlus,Xoshiro256PlusPlusprngs (#1649)ChaCha8Rng,ChaCha12Rng,ChaCha20Rngbehindchachafeature (#1659)rand::make_rng() -> R where R: SeedableRng(#1734)Removals
ReseedingRng(#1722)small_rng(#1732)v0.9.5Compare Source
What's Changed
Full Changelog: rust-random/rand@0.9.4...0.9.5
v0.9.4Compare Source
Fixes
Full Changelog: rust-random/rand@0.9.3...0.9.4
v0.9.3Compare Source
v0.9.2Compare Source
Deprecated
rand::rngs::mockmodule andStepRnggenerator (#1634)Additions
WeightedIndex<usize>(de)serialization (#1646)v0.9.1Compare Source
Security and unsafe
zerocopydependency fromrand(#1579)Fixes
simd_supportfor recent nightly rust (#1586)Changes
fn rand::seq::index::sample_weightedandfn IndexedRandom::choose_multiple_weightedto return fewer thanamountresults (#1623), reverting an undocumented change (#1382) to the previous release.Additions
rand::distr::Alphabeticdistribution. (#1587)rand_core(#1604)v0.9.0Compare Source
Security and unsafe
ReseedingRngandThreadRng. Instead, it is recommended to callThreadRng::reseedon fork. (#1379)zerocopyto replace someunsafecode (#1349, #1393, #1446, #1502)Dependencies
--ignore-rust-versionrand_corev0.9.0 (#1558)Features
stdfeature withoutgetrandomorrand_chacha(#1354)small_rngby default (#1455)rand_chacha; usestd_rnginstead. (#1473)serde1toserde(#1477)getrandomtoos_rng(#1537)thread_rng(#1547)API changes: rand_core traits
RngCore::read_adapterimplementingstd::io::Read(#1267)CryptoBlockRng: BlockRngCore; maketrait CryptoRng: RngCore(#1273)TryRngCore,TryCryptoRng(#1424, #1499)fn SeedableRng::from_rng->try_from_rngand add infallible variantfn from_rng(#1424)fn SeedableRng::from_entropy->from_os_rngand add fallible variantfn try_from_os_rng(#1424)CloneandAsRefto associated typeSeedableRng::Seed(#1491)API changes: Rng trait and top-level fns
rand::thread_rng()torand::rng()and remove from the prelude (#1506)rand::random()from the prelude (#1506)random_iter,random_range,random_bool,random_ratio,fill(#1488)Rng::gen_iterasrandom_iter(#1305, #1500)Rng::gentorandomto avoid conflict with the newgenkeyword in Rust 2024 (#1438)Rng::gen_rangetorandom_range,gen_booltorandom_bool,gen_ratiotorandom_ratio(#1505)#[track_caller](#1442, #1447)API changes: RNGs
<SmallRng as SeedableRng>::Seedsize to 256 bits (#1455)rng) ofReseedingRng::new(#1533)API changes: Sequences
SliceRandomintoIndexedRandom,IndexedMutRandom,SliceRandom(#1382)IndexedRandom::choose_multiple_array,index::sample_array(#1453, #1469)API changes: Distributions: renames
rand::distributionstorand::distr(#1470)StandardtoStandardUniform(#1526)distr::Slice->distr::slice::Choose,distr::EmptySlice->distr::slice::Empty(#1548)distr::DistString->distr::SampleString(#1548)distr::DistIter->distr::Iter,distr::DistMap->distr::Map(#1548)API changes: Distributions
Sizedbound onDistribution<T> for &D(#1278)Distribution<Option<T>>forStandardUniform(#1526)StandardUniformsupport allNonZero*types (#1332){Uniform, UniformSampler}::{new, new_inclusive}return aResult(instead of potentially panicking) (#1229)UniformimplementsTryFrominstead ofFromfor ranges (#1229)UniformUsize(#1487)isizeandusizevalues withStandardUniform,Uniform(except viaUniformUsize) andFilland usage as aWeightedAliasIndexweight (#1487)DistStringfor distributionsSlice<char>andUniform<char>(#1315)Slice::num_choices(#1402)p()for distributionBernoullito access probability (#1481)API changes: Weighted distributions
pubmodulerand::distr::weighted, movingWeightedIndexthere (#1548)weighted::Weight, allowingWeightedIndexto trap overflow (#1353)weight, weights, total_weightto distributionWeightedIndex(#1420)WeightedErrortoweighted::Error, revising variants (#1382) and mark as#[non_exhaustive](#1480)API changes: SIMD
std::simd, expand SIMD & docs (#1239)Reproducibility-breaking changes
ReseedingRng::reseeddiscard remaining data from the last block generated (#1379)SmallRng::seed_from_u64implementation (#1203)UniformFloat::newsamples andUniformFloat::sample_singleto yieldhigh(#1462)Slice(#1469)Uniformforusizeportable viaUniformUsize(#1487)IndexdRandom::choose_multiple_weightedfor very small seeds and optimize for large input length / low memory (#1530)Reproducibility-breaking optimisations
sample_floyd, affecting output ofrand::seq::index::sampleandrand::seq::SliceRandom::choose_multiple(#1277)IteratorRandom::chooseandchoose_stable(#1268)SliceRandom::shuffleandpartial_shuffle(#1272)Uniform: use Canon's method (single sampling) / Lemire's method (distribution sampling) for faster sampling (breaks value stability; #1287)sample_single_inclusivefor floats (+~20% perf) (#1289)Other optimisations
SmallRnginitialization performance (#1482)Other
Cargo.lock.msrvfile (#1275)rustfmtand enforce (#1448)benchescrate (#1329, #1439) and migrate to Criterion (#1490)Documentation
ThreadRngrelated docs (#1257)--generate-link-to-definitionfeature (#1327)doc_auto_cfg(#1411, #1450)v0.8.8Compare Source
What's Changed
Full Changelog: rust-random/rand@0.8.7...0.8.8
v0.8.7Compare Source
What's Changed
Full Changelog: rust-random/rand@0.8.6...0.8.7
v0.8.6Compare Source
What's Changed
This release back-ports a fix from v0.10. See also #1763.
Changes
log(#1772)simd_supportfeature.New Contributors
Full Changelog: rust-random/rand@0.8.5...0.8.6
Configuration
📅 Schedule: (UTC)
🚦 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 was generated by Mend Renovate. View the repository job log.