fix(deps): update rust crate rand to 0.10.0 #10

Open
renovate-bot wants to merge 1 commit from renovate/rand-0.x into master
Member

This PR contains the following updates:

Package Type Update Change
rand (source) dependencies minor 0.9.2 -> 0.10.0

Release Notes

rust-random/rand (rand)

v0.10.1

Compare Source

This release includes a fix for a soundness bug; see #​1763.

Changes
  • Document panic behavior of make_rng and add #[track_caller] (#​1761)
  • Deprecate feature log (#​1763)

v0.10.0

Compare Source

Changes
  • The dependency on rand_chacha has been replaced with a dependency on chacha20. This changes the implementation behind StdRng, but the output remains the same. There may be some API breakage when using the ChaCha-types directly as these are now the ones in chacha20 instead of rand_chacha (#​1642).
  • Rename fns IndexedRandom::choose_multiple -> sample, choose_multiple_array -> sample_array, choose_multiple_weighted -> sample_weighted, struct SliceChooseIter -> IndexedSamples and fns IteratorRandom::choose_multiple -> sample, choose_multiple_fill -> sample_fill (#​1632)
  • Use Edition 2024 and MSRV 1.85 (#​1653)
  • Let Fill be implemented for element types, not sliceable types (#​1652)
  • Fix OsError::raw_os_error on UEFI targets by returning Option<usize> (#​1665)
  • Replace fn TryRngCore::read_adapter(..) -> RngReadAdapter with simpler struct RngReader (#​1669)
  • Remove fns SeedableRng::from_os_rng, try_from_os_rng (#​1674)
  • Remove Clone support for StdRng, ReseedingRng (#​1677)
  • Use postcard instead of bincode to test the serde feature (#​1693)
  • Avoid excessive allocation in IteratorRandom::sample when amount is much larger than iterator size (#​1695)
  • Rename os_rng -> sys_rng, OsRng -> SysRng, OsError -> SysError (#​1697)
  • Rename Rng -> RngExt as upstream rand_core has renamed RngCore -> Rng (#​1717)
Additions
  • Add fns IndexedRandom::choose_iter, choose_weighted_iter (#​1632)
  • Pub export Xoshiro128PlusPlus, Xoshiro256PlusPlus prngs (#​1649)
  • Pub export ChaCha8Rng, ChaCha12Rng, ChaCha20Rng behind chacha feature (#​1659)
  • Fn rand::make_rng() -> R where R: SeedableRng (#​1734)
Removals

v0.9.4

Compare Source

Fixes

Full Changelog: https://github.com/rust-random/rand/compare/0.9.3...0.9.4

v0.9.3

Compare Source

This release back-ports a fix from v0.10. See also [#​1763].

Changes

Full Changelog: https://github.com/rust-random/rand/compare/0.9.2...0.9.3


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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rand](https://rust-random.github.io/book) ([source](https://github.com/rust-random/rand)) | dependencies | minor | `0.9.2` -> `0.10.0` | --- ### Release Notes <details> <summary>rust-random/rand (rand)</summary> ### [`v0.10.1`](https://github.com/rust-random/rand/blob/HEAD/CHANGELOG.md#0101--2026-02-11) [Compare Source](https://github.com/rust-random/rand/compare/0.10.0...0.10.1) This release includes a fix for a soundness bug; see [#&#8203;1763]. ##### Changes - Document panic behavior of `make_rng` and add `#[track_caller]` ([#&#8203;1761]) - Deprecate feature `log` ([#&#8203;1763]) [#&#8203;1761]: https://github.com/rust-random/rand/pull/1761 [#&#8203;1763]: https://github.com/rust-random/rand/pull/1763 ### [`v0.10.0`](https://github.com/rust-random/rand/blob/HEAD/CHANGELOG.md#0100---2026-02-08) [Compare Source](https://github.com/rust-random/rand/compare/0.9.4...0.10.0) ##### Changes - The dependency on `rand_chacha` has been replaced with a dependency on `chacha20`. This changes the implementation behind `StdRng`, but the output remains the same. There may be some API breakage when using the ChaCha-types directly as these are now the ones in `chacha20` instead of `rand_chacha` ([#&#8203;1642]). - Rename fns `IndexedRandom::choose_multiple` -> `sample`, `choose_multiple_array` -> `sample_array`, `choose_multiple_weighted` -> `sample_weighted`, struct `SliceChooseIter` -> `IndexedSamples` and fns `IteratorRandom::choose_multiple` -> `sample`, `choose_multiple_fill` -> `sample_fill` ([#&#8203;1632]) - Use Edition 2024 and MSRV 1.85 ([#&#8203;1653]) - Let `Fill` be implemented for element types, not sliceable types ([#&#8203;1652]) - Fix `OsError::raw_os_error` on UEFI targets by returning `Option<usize>` ([#&#8203;1665]) - Replace fn `TryRngCore::read_adapter(..) -> RngReadAdapter` with simpler struct `RngReader` ([#&#8203;1669]) - Remove fns `SeedableRng::from_os_rng`, `try_from_os_rng` ([#&#8203;1674]) - Remove `Clone` support for `StdRng`, `ReseedingRng` ([#&#8203;1677]) - Use `postcard` instead of `bincode` to test the serde feature ([#&#8203;1693]) - Avoid excessive allocation in `IteratorRandom::sample` when `amount` is much larger than iterator size ([#&#8203;1695]) - Rename `os_rng` -> `sys_rng`, `OsRng` -> `SysRng`, `OsError` -> `SysError` ([#&#8203;1697]) - Rename `Rng` -> `RngExt` as upstream `rand_core` has renamed `RngCore` -> `Rng` ([#&#8203;1717]) ##### Additions - Add fns `IndexedRandom::choose_iter`, `choose_weighted_iter` ([#&#8203;1632]) - Pub export `Xoshiro128PlusPlus`, `Xoshiro256PlusPlus` prngs ([#&#8203;1649]) - Pub export `ChaCha8Rng`, `ChaCha12Rng`, `ChaCha20Rng` behind `chacha` feature ([#&#8203;1659]) - Fn `rand::make_rng() -> R where R: SeedableRng` ([#&#8203;1734]) ##### Removals - Removed `ReseedingRng` ([#&#8203;1722]) - Removed unused feature "nightly" ([#&#8203;1732]) - Removed feature `small_rng` ([#&#8203;1732]) [#&#8203;1632]: https://github.com/rust-random/rand/pull/1632 [#&#8203;1642]: https://github.com/rust-random/rand/pull/1642 [#&#8203;1649]: https://github.com/rust-random/rand/pull/1649 [#&#8203;1652]: https://github.com/rust-random/rand/pull/1652 [#&#8203;1653]: https://github.com/rust-random/rand/pull/1653 [#&#8203;1659]: https://github.com/rust-random/rand/pull/1659 [#&#8203;1665]: https://github.com/rust-random/rand/pull/1665 [#&#8203;1669]: https://github.com/rust-random/rand/pull/1669 [#&#8203;1674]: https://github.com/rust-random/rand/pull/1674 [#&#8203;1677]: https://github.com/rust-random/rand/pull/1677 [#&#8203;1693]: https://github.com/rust-random/rand/pull/1693 [#&#8203;1695]: https://github.com/rust-random/rand/pull/1695 [#&#8203;1697]: https://github.com/rust-random/rand/pull/1697 [#&#8203;1717]: https://github.com/rust-random/rand/pull/1717 [#&#8203;1722]: https://github.com/rust-random/rand/pull/1722 [#&#8203;1732]: https://github.com/rust-random/rand/pull/1732 [#&#8203;1734]: https://github.com/rust-random/rand/pull/1734 ### [`v0.9.4`](https://github.com/rust-random/rand/releases/tag/0.9.4) [Compare Source](https://github.com/rust-random/rand/compare/0.9.3...0.9.4) ##### Fixes - Fix doc build ([#&#8203;1766]) [#&#8203;1766]: https://github.com/rust-random/rand/pull/1766 **Full Changelog**: <https://github.com/rust-random/rand/compare/0.9.3...0.9.4> ### [`v0.9.3`](https://github.com/rust-random/rand/releases/tag/0.9.3) [Compare Source](https://github.com/rust-random/rand/compare/0.9.2...0.9.3) This release back-ports a fix from v0.10. See also \[[#&#8203;1763](https://github.com/rust-random/rand/issues/1763)]. ##### Changes - Deprecate feature `log` ([#&#8203;1764](https://github.com/rust-random/rand/issues/1764)) - Replace usages of `doc_auto_cfg` ([#&#8203;1764](https://github.com/rust-random/rand/issues/1764)) **Full Changelog**: <https://github.com/rust-random/rand/compare/0.9.2...0.9.3> </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi41Mi44IiwidXBkYXRlZEluVmVyIjoiNDIuNTIuOCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJyZW5vdmF0ZS1ib3QiXX0=-->
fix(deps): update rust crate rand to 0.10.0
Some checks failed
renovate/artifacts Artifact file update failure
dae83b3198
Author
Member

⚠️ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path authz/Cargo.toml --package rand@0.9.2 --precise 0.10.1
    Updating crates.io index
error: failed to select a version for the requirement `rand = "^0.9"`
candidate versions found which didn't match: 0.10.1
location searched: crates.io index
required by package `hickory-client v0.25.2`
    ... which satisfies dependency `hickory-client = "^0.25.2"` of package `libbind9 v0.1.0 (/tmp/renovate-bot-cache/repos/gitea/LibrePages/neo/dns/dnsserver/libbind9)`
    ... which satisfies path dependency `libbind9` (locked to 0.1.0) of package `dns v0.1.0 (/tmp/renovate-bot-cache/repos/gitea/LibrePages/neo/dns)`

File name: common_utils/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path common_utils/Cargo.toml --package rand@0.9.2 --precise 0.10.1
    Updating crates.io index
error: failed to select a version for the requirement `rand = "^0.9"`
candidate versions found which didn't match: 0.10.1
location searched: crates.io index
required by package `hickory-client v0.25.2`
    ... which satisfies dependency `hickory-client = "^0.25.2"` of package `libbind9 v0.1.0 (/tmp/renovate-bot-cache/repos/gitea/LibrePages/neo/dns/dnsserver/libbind9)`
    ... which satisfies path dependency `libbind9` (locked to 0.1.0) of package `dns v0.1.0 (/tmp/renovate-bot-cache/repos/gitea/LibrePages/neo/dns)`

File name: dns/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path dns/Cargo.toml --package rand@0.9.2 --precise 0.10.1
    Updating crates.io index
error: failed to select a version for the requirement `rand = "^0.9"`
candidate versions found which didn't match: 0.10.1
location searched: crates.io index
required by package `hickory-client v0.25.2`
    ... which satisfies dependency `hickory-client = "^0.25.2"` of package `libbind9 v0.1.0 (/tmp/renovate-bot-cache/repos/gitea/LibrePages/neo/dns/dnsserver/libbind9)`
    ... which satisfies path dependency `libbind9` (locked to 0.1.0) of package `dns v0.1.0 (/tmp/renovate-bot-cache/repos/gitea/LibrePages/neo/dns)`

### ⚠️ Artifact update problem Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: Cargo.lock ``` Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path authz/Cargo.toml --package rand@0.9.2 --precise 0.10.1 Updating crates.io index error: failed to select a version for the requirement `rand = "^0.9"` candidate versions found which didn't match: 0.10.1 location searched: crates.io index required by package `hickory-client v0.25.2` ... which satisfies dependency `hickory-client = "^0.25.2"` of package `libbind9 v0.1.0 (/tmp/renovate-bot-cache/repos/gitea/LibrePages/neo/dns/dnsserver/libbind9)` ... which satisfies path dependency `libbind9` (locked to 0.1.0) of package `dns v0.1.0 (/tmp/renovate-bot-cache/repos/gitea/LibrePages/neo/dns)` ``` ##### File name: common_utils/Cargo.lock ``` Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path common_utils/Cargo.toml --package rand@0.9.2 --precise 0.10.1 Updating crates.io index error: failed to select a version for the requirement `rand = "^0.9"` candidate versions found which didn't match: 0.10.1 location searched: crates.io index required by package `hickory-client v0.25.2` ... which satisfies dependency `hickory-client = "^0.25.2"` of package `libbind9 v0.1.0 (/tmp/renovate-bot-cache/repos/gitea/LibrePages/neo/dns/dnsserver/libbind9)` ... which satisfies path dependency `libbind9` (locked to 0.1.0) of package `dns v0.1.0 (/tmp/renovate-bot-cache/repos/gitea/LibrePages/neo/dns)` ``` ##### File name: dns/Cargo.lock ``` Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path dns/Cargo.toml --package rand@0.9.2 --precise 0.10.1 Updating crates.io index error: failed to select a version for the requirement `rand = "^0.9"` candidate versions found which didn't match: 0.10.1 location searched: crates.io index required by package `hickory-client v0.25.2` ... which satisfies dependency `hickory-client = "^0.25.2"` of package `libbind9 v0.1.0 (/tmp/renovate-bot-cache/repos/gitea/LibrePages/neo/dns/dnsserver/libbind9)` ... which satisfies path dependency `libbind9` (locked to 0.1.0) of package `dns v0.1.0 (/tmp/renovate-bot-cache/repos/gitea/LibrePages/neo/dns)` ```
renovate-bot force-pushed renovate/rand-0.x from dae83b3198
Some checks failed
renovate/artifacts Artifact file update failure
to bc574802d3
Some checks failed
renovate/artifacts Artifact file update failure
2026-03-23 05:17:46 +05:30
Compare
renovate-bot force-pushed renovate/rand-0.x from bc574802d3
Some checks failed
renovate/artifacts Artifact file update failure
to 6779fa2ca8
Some checks failed
renovate/artifacts Artifact file update failure
2026-04-20 05:19:28 +05:30
Compare
Some checks failed
renovate/artifacts Artifact file update failure
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/rand-0.x:renovate/rand-0.x
git switch renovate/rand-0.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff renovate/rand-0.x
git switch renovate/rand-0.x
git rebase master
git switch master
git merge --ff-only renovate/rand-0.x
git switch renovate/rand-0.x
git rebase master
git switch master
git merge --no-ff renovate/rand-0.x
git switch master
git merge --squash renovate/rand-0.x
git switch master
git merge --ff-only renovate/rand-0.x
git switch master
git merge renovate/rand-0.x
git push origin master
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
LibrePages/neo!10
No description provided.