Bump rand_chacha from 0.9.0 to 0.10.0 in /src by dependabot[bot] · Pull Request #3717 · shadow/shadow
Bumps rand_chacha from 0.9.0 to 0.10.0.
Release notes
Sourced from rand_chacha's releases.
rand v0.9.1
Changelog
Security and unsafe
Fixes
- Fix feature
simd_supportfor recent nightly rust (#1586)Changes
- Allow
fn rand::seq::index::sample_weightedandfn IndexedRandom::choose_multiple_weightedto return fewer thanamountresults (#1623), reverting an undocumented change (#1382) to the previous release.Additions
New Contributors
@yttersianmade their first contribution in rust-random/rand#1567@sorairolakemade their first contribution in rust-random/rand#1583@1Git2Clonemade their first contribution in rust-random/rand#1587@baloomade their first contribution in rust-random/rand#1589@fjarrimade their first contribution in rust-random/rand#1593@Raymi306made their first contribution in rust-random/rand#1616@hashcatHitmanmade their first contribution in rust-random/rand#1627Full Changelog: rust-random/rand@0.9.0...0.9.1
Changelog
Sourced from rand_chacha's changelog.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
A separate changelog is kept for rand_core.
You may also find the Upgrade Guide useful.
[Unreleased]
Changes
- The dependency on
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).- Rename fns
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)- Use Edition 2024 and MSRV 1.85 (#1653)
- Let
Fillbe implemented for element types, not sliceable types (#1652)- Fix
OsError::raw_os_erroron UEFI targets by returningOption<usize>(#1665)- Replace fn
TryRngCore::read_adapter(..) -> RngReadAdapterwith simpler structRngReader(#1669)- Remove fns
SeedableRng::from_os_rng,try_from_os_rng(#1674)- Remove
Clonesupport forStdRng,ReseedingRng(#1677)- Use
postcardinstead ofbincodeto test the serde feature (#1693)- Avoid excessive allocation in
IteratorRandom::samplewhenamountis much larger than iterator size (#1695)- Rename
os_rng->sys_rng,OsRng->SysRng,OsError->SysError(#1697)- Rename
Rng->RngExtas upstreamrand_corehas renamedRngCore->Rng(#1717)Additions
- Add fns
IndexedRandom::choose_iter,choose_weighted_iter(#1632)- Pub export
Xoshiro128PlusPlus,Xoshiro256PlusPlusprngs (#1649)- Pub export
ChaCha8Rng,ChaCha12Rng,ChaCha20Rngbehindchachafeature (#1659)Removals
- Removed
ReseedingRng(#1722)#1695: rust-random/rand#1695 #1697: rust-random/rand#1697 #1717: rust-random/rand#1717 #1722: rust-random/rand#1722
[0.9.2] - 2025-07-20
Deprecated
- Deprecate
rand::rngs::mockmodule andStepRnggenerator (#1634)Additions
- Enable
WeightedIndex<usize>(de)serialization (#1646)[0.9.1] - 2025-04-17
Security and unsafe
... (truncated)
Commits
- See full diff in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.