fix(deps): update rust crate rand_core to 0.10.0 #1496

Open
renovate wants to merge 1 commit from renovate/rand_core-0.x into main
Collaborator

This PR contains the following updates:

Package Type Update Change
rand_core (source) dependencies minor 0.6.40.10.0

Release Notes

rust-random/rand_core (rand_core)

v0.10.0

This release makes a number of significant changes which we hope will be the
last significant breakage before 1.0. Code has moved from the rust-random/rand
repository to its own rust-random/rand_core.

User-facing API changes
Changed
  • Edition changed to 2024 and MSRV bumped to 1.85 (rand#1668)
  • RngCore and TryRngCore are renamed to Rng and TryRng respectively (#​54)
  • Rng is now an extension trait of TryRng<Error = Infallible> (#​45)
  • TryRng::Error is bound on core::error::Error instead of Debug + Display (#​58)
  • Relax Sized bound on impls of SeedableRng (rand#1641)
Added
  • SeedableRng::{fork, try_fork} methods (#​17)
  • Re-export of core::convert::Infallible (#​56)
Removed
  • TryRng::read_adapter method (replaced with rand::RngReader) (rand#1669)
  • os_rng crate feature (rand#1674)
  • OsRng and OsError structs (rand#1674)
  • SeedableRng::from_os_rng and SeedableRng::try_from_os_rng methods (rand#1674)
  • getrandom dependency (rand#1674)
  • std crate feature (rand#1674)
  • Optional serde dependency (#​28)
  • UnwrapMut struct and Rng::unwrap_mut method (#​45)
  • Rng::unwrap_err method in favor of explicit wrapping in UnwrapErr (#​53)
API changes to PRNG implementation helpers
Added
  • BlockRng::reconstruct and BlockRng::remaining_results methods (#​36)
  • block::Generator::drop method (#​35)
  • BlockRng::word_offset method (#​44)
Changed
  • Replaced le helper functions with new utils helpers (rand#1667, #​34, #​38, #​45)
  • Rename BlockRng::generate_and_set method to reset_and_skip (#​44)
  • Rename block::BlockRngCore trait to block::Generator (#​26)
  • Rename BlockRngCore::Results associated type to Output and remove type bounds on it (#​26)
Removed
  • Implementation of Rng for BlockRng, making the latter more generic (#​34)
  • BlockRng64 struct (#​34)
  • BlockRng::reset method (#​44)
  • BlockRng::index method (replaced with BlockRng::word_offset) (#​44)
  • Generator::Item associated type (#​26)
  • CryptoBlockRng (#​69)

v0.9.4

Compare Source

v0.9.3

Compare Source

This release makes a number of significant changes which we hope will be the
last significant breakage before 1.0. Code has moved from the rust-random/rand
repository to its own rust-random/rand_core.

User-facing API changes
Changed
  • Edition changed to 2024 and MSRV bumped to 1.85 (rand#1668)
  • RngCore and TryRngCore are renamed to Rng and TryRng respectively (#​54)
  • Rng is now an extension trait of TryRng<Error = Infallible> (#​45)
  • TryRng::Error is bound on core::error::Error instead of Debug + Display (#​58)
  • Relax Sized bound on impls of SeedableRng (rand#1641)
Added
  • SeedableRng::{fork, try_fork} methods (#​17)
  • Re-export of core::convert::Infallible (#​56)
Removed
  • TryRng::read_adapter method (replaced with rand::RngReader) (rand#1669)
  • os_rng crate feature (rand#1674)
  • OsRng and OsError structs (rand#1674)
  • SeedableRng::from_os_rng and SeedableRng::try_from_os_rng methods (rand#1674)
  • getrandom dependency (rand#1674)
  • std crate feature (rand#1674)
  • Optional serde dependency (#​28)
  • UnwrapMut struct and Rng::unwrap_mut method (#​45)
  • Rng::unwrap_err method in favor of explicit wrapping in UnwrapErr (#​53)
API changes to PRNG implementation helpers
Added
  • BlockRng::reconstruct and BlockRng::remaining_results methods (#​36)
  • block::Generator::drop method (#​35)
  • BlockRng::word_offset method (#​44)
Changed
  • Replaced le helper functions with new utils helpers (rand#1667, #​34, #​38, #​45)
  • Rename BlockRng::generate_and_set method to reset_and_skip (#​44)
  • Rename block::BlockRngCore trait to block::Generator (#​26)
  • Rename BlockRngCore::Results associated type to Output and remove type bounds on it (#​26)
Removed
  • Implementation of Rng for BlockRng, making the latter more generic (#​34)
  • BlockRng64 struct (#​34)
  • BlockRng::reset method (#​44)
  • BlockRng::index method (replaced with BlockRng::word_offset) (#​44)
  • Generator::Item associated type (#​26)
  • CryptoBlockRng (#​69)

v0.9.2

Compare Source

Other
  • Remove zerocopy dependency (rand#1607)
  • Deprecate rand_core::impls::fill_via_u32_chunks, fill_via_u64_chunks (rand#1607)

v0.9.1

Compare Source

API changes
  • Relax Sized bound on impls of TryRngCore, TryCryptoRng and UnwrapMut (rand#1593)
  • Add UnwrapMut::re to reborrow the inner rng with a tighter lifetime (rand#1595)

v0.9.0

Compare Source

API changes
  • Add TryRngCore::unwrap_mut, providing an impl of RngCore over &mut rng (rand#1589)

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_core](https://rust-random.github.io/book) ([source](https://github.com/rust-random/rand_core)) | dependencies | minor | `0.6.4` → `0.10.0` | --- ### Release Notes <details> <summary>rust-random/rand_core (rand_core)</summary> ### [`v0.10.0`](https://github.com/rust-random/rand_core/blob/HEAD/CHANGELOG.md#0100---2026-02-01) This release makes a number of significant changes which we hope will be the last significant breakage before 1.0. Code has moved from the [rust-random/rand] repository to its own [rust-random/rand\_core][rust-random/rand_core]. ##### User-facing API changes ##### Changed - Edition changed to 2024 and MSRV bumped to 1.85 ([rand#1668]) - `RngCore` and `TryRngCore` are renamed to `Rng` and `TryRng` respectively ([#&#8203;54]) - `Rng` is now an extension trait of `TryRng<Error = Infallible>` ([#&#8203;45]) - `TryRng::Error` is bound on `core::error::Error` instead of `Debug + Display` ([#&#8203;58]) - Relax `Sized` bound on impls of `SeedableRng` ([rand#1641]) ##### Added - `SeedableRng::{fork, try_fork}` methods ([#&#8203;17]) - Re-export of `core::convert::Infallible` ([#&#8203;56]) ##### Removed - `TryRng::read_adapter` method (replaced with `rand::RngReader`) ([rand#1669]) - `os_rng` crate feature ([rand#1674]) - `OsRng` and `OsError` structs ([rand#1674]) - `SeedableRng::from_os_rng` and `SeedableRng::try_from_os_rng` methods ([rand#1674]) - `getrandom` dependency ([rand#1674]) - `std` crate feature ([rand#1674]) - Optional `serde` dependency ([#&#8203;28]) - `UnwrapMut` struct and `Rng::unwrap_mut` method ([#&#8203;45]) - `Rng::unwrap_err` method in favor of explicit wrapping in `UnwrapErr` ([#&#8203;53]) ##### API changes to PRNG implementation helpers ##### Added - `BlockRng::reconstruct` and `BlockRng::remaining_results` methods ([#&#8203;36]) - `block::Generator::drop` method ([#&#8203;35]) - `BlockRng::word_offset` method ([#&#8203;44]) ##### Changed - Replaced `le` helper functions with new `utils` helpers ([rand#1667], [#&#8203;34], [#&#8203;38], [#&#8203;45]) - Rename `BlockRng::generate_and_set` method to `reset_and_skip` ([#&#8203;44]) - Rename `block::BlockRngCore` trait to `block::Generator` ([#&#8203;26]) - Rename `BlockRngCore::Results` associated type to `Output` and remove type bounds on it ([#&#8203;26]) ##### Removed - Implementation of `Rng` for `BlockRng`, making the latter more generic ([#&#8203;34]) - `BlockRng64` struct ([#&#8203;34]) - `BlockRng::reset` method ([#&#8203;44]) - `BlockRng::index` method (replaced with `BlockRng::word_offset`) ([#&#8203;44]) - `Generator::Item` associated type ([#&#8203;26]) - `CryptoBlockRng` ([#&#8203;69]) [0.10.0]: https://github.com/rust-random/rand_core/compare/v0.9.3...HEAD [rand#1641]: https://github.com/rust-random/rand/pull/1641 [rand#1667]: https://github.com/rust-random/rand/pull/1667 [rand#1668]: https://github.com/rust-random/rand/pull/1668 [rand#1669]: https://github.com/rust-random/rand/pull/1669 [rand#1674]: https://github.com/rust-random/rand/pull/1674 [#&#8203;17]: https://github.com/rust-random/rand_core/pull/17 [#&#8203;26]: https://github.com/rust-random/rand_core/pull/28 [#&#8203;28]: https://github.com/rust-random/rand_core/pull/28 [#&#8203;34]: https://github.com/rust-random/rand_core/pull/34 [#&#8203;35]: https://github.com/rust-random/rand_core/pull/35 [#&#8203;36]: https://github.com/rust-random/rand_core/pull/36 [#&#8203;38]: https://github.com/rust-random/rand_core/pull/38 [#&#8203;44]: https://github.com/rust-random/rand_core/pull/44 [#&#8203;45]: https://github.com/rust-random/rand_core/pull/45 [#&#8203;53]: https://github.com/rust-random/rand_core/pull/53 [#&#8203;54]: https://github.com/rust-random/rand_core/pull/54 [#&#8203;56]: https://github.com/rust-random/rand_core/pull/56 [#&#8203;58]: https://github.com/rust-random/rand_core/pull/58 [#&#8203;69]: https://github.com/rust-random/rand_core/pull/69 [rust-random/rand]: https://github.com/rust-random/rand [rust-random/rand_core]: https://github.com/rust-random/rand_core ### [`v0.9.4`](https://github.com/rust-random/rand_core/compare/v0.9.3...v0.9.4) [Compare Source](https://github.com/rust-random/rand_core/compare/v0.9.3...v0.9.4) ### [`v0.9.3`](https://github.com/rust-random/rand_core/blob/HEAD/CHANGELOG.md#0100---2026-02-01) [Compare Source](https://github.com/rust-random/rand_core/compare/v0.9.2...v0.9.3) This release makes a number of significant changes which we hope will be the last significant breakage before 1.0. Code has moved from the [rust-random/rand] repository to its own [rust-random/rand\_core][rust-random/rand_core]. ##### User-facing API changes ##### Changed - Edition changed to 2024 and MSRV bumped to 1.85 ([rand#1668]) - `RngCore` and `TryRngCore` are renamed to `Rng` and `TryRng` respectively ([#&#8203;54]) - `Rng` is now an extension trait of `TryRng<Error = Infallible>` ([#&#8203;45]) - `TryRng::Error` is bound on `core::error::Error` instead of `Debug + Display` ([#&#8203;58]) - Relax `Sized` bound on impls of `SeedableRng` ([rand#1641]) ##### Added - `SeedableRng::{fork, try_fork}` methods ([#&#8203;17]) - Re-export of `core::convert::Infallible` ([#&#8203;56]) ##### Removed - `TryRng::read_adapter` method (replaced with `rand::RngReader`) ([rand#1669]) - `os_rng` crate feature ([rand#1674]) - `OsRng` and `OsError` structs ([rand#1674]) - `SeedableRng::from_os_rng` and `SeedableRng::try_from_os_rng` methods ([rand#1674]) - `getrandom` dependency ([rand#1674]) - `std` crate feature ([rand#1674]) - Optional `serde` dependency ([#&#8203;28]) - `UnwrapMut` struct and `Rng::unwrap_mut` method ([#&#8203;45]) - `Rng::unwrap_err` method in favor of explicit wrapping in `UnwrapErr` ([#&#8203;53]) ##### API changes to PRNG implementation helpers ##### Added - `BlockRng::reconstruct` and `BlockRng::remaining_results` methods ([#&#8203;36]) - `block::Generator::drop` method ([#&#8203;35]) - `BlockRng::word_offset` method ([#&#8203;44]) ##### Changed - Replaced `le` helper functions with new `utils` helpers ([rand#1667], [#&#8203;34], [#&#8203;38], [#&#8203;45]) - Rename `BlockRng::generate_and_set` method to `reset_and_skip` ([#&#8203;44]) - Rename `block::BlockRngCore` trait to `block::Generator` ([#&#8203;26]) - Rename `BlockRngCore::Results` associated type to `Output` and remove type bounds on it ([#&#8203;26]) ##### Removed - Implementation of `Rng` for `BlockRng`, making the latter more generic ([#&#8203;34]) - `BlockRng64` struct ([#&#8203;34]) - `BlockRng::reset` method ([#&#8203;44]) - `BlockRng::index` method (replaced with `BlockRng::word_offset`) ([#&#8203;44]) - `Generator::Item` associated type ([#&#8203;26]) - `CryptoBlockRng` ([#&#8203;69]) [0.10.0]: https://github.com/rust-random/rand_core/compare/v0.9.3...HEAD [rand#1641]: https://github.com/rust-random/rand/pull/1641 [rand#1667]: https://github.com/rust-random/rand/pull/1667 [rand#1668]: https://github.com/rust-random/rand/pull/1668 [rand#1669]: https://github.com/rust-random/rand/pull/1669 [rand#1674]: https://github.com/rust-random/rand/pull/1674 [#&#8203;17]: https://github.com/rust-random/rand_core/pull/17 [#&#8203;26]: https://github.com/rust-random/rand_core/pull/28 [#&#8203;28]: https://github.com/rust-random/rand_core/pull/28 [#&#8203;34]: https://github.com/rust-random/rand_core/pull/34 [#&#8203;35]: https://github.com/rust-random/rand_core/pull/35 [#&#8203;36]: https://github.com/rust-random/rand_core/pull/36 [#&#8203;38]: https://github.com/rust-random/rand_core/pull/38 [#&#8203;44]: https://github.com/rust-random/rand_core/pull/44 [#&#8203;45]: https://github.com/rust-random/rand_core/pull/45 [#&#8203;53]: https://github.com/rust-random/rand_core/pull/53 [#&#8203;54]: https://github.com/rust-random/rand_core/pull/54 [#&#8203;56]: https://github.com/rust-random/rand_core/pull/56 [#&#8203;58]: https://github.com/rust-random/rand_core/pull/58 [#&#8203;69]: https://github.com/rust-random/rand_core/pull/69 [rust-random/rand]: https://github.com/rust-random/rand [rust-random/rand_core]: https://github.com/rust-random/rand_core ### [`v0.9.2`](https://github.com/rust-random/rand_core/blob/HEAD/CHANGELOG.md#093---2025-02-29) [Compare Source](https://github.com/rust-random/rand_core/compare/v0.9.1...v0.9.2) ##### Other - Remove `zerocopy` dependency ([rand#1607]) - Deprecate `rand_core::impls::fill_via_u32_chunks`, `fill_via_u64_chunks` ([rand#1607]) [0.9.3]: https://github.com/rust-random/rand_core/compare/v0.9.2...v0.9.3 [rand#1607]: https://github.com/rust-random/rand/pull/1607 ### [`v0.9.1`](https://github.com/rust-random/rand_core/blob/HEAD/CHANGELOG.md#092---2025-02-22) [Compare Source](https://github.com/rust-random/rand_core/compare/v0.9.0...v0.9.1) ##### API changes - Relax `Sized` bound on impls of `TryRngCore`, `TryCryptoRng` and `UnwrapMut` ([rand#1593]) - Add `UnwrapMut::re` to reborrow the inner rng with a tighter lifetime ([rand#1595]) [0.9.2]: https://github.com/rust-random/rand_core/compare/v0.9.1...v0.9.2 [rand#1593]: https://github.com/rust-random/rand/pull/1593 [rand#1595]: https://github.com/rust-random/rand/pull/1595 ### [`v0.9.0`](https://github.com/rust-random/rand_core/blob/HEAD/CHANGELOG.md#091---2025-02-16) [Compare Source](https://github.com/rust-random/rand_core/compare/v0.6.4...v0.9.0) ##### API changes - Add `TryRngCore::unwrap_mut`, providing an impl of `RngCore` over `&mut rng` ([rand#1589]) [0.9.1]: https://github.com/rust-random/rand_core/compare/v0.9.0...v0.9.1 [rand#1589]: https://github.com/rust-random/rand/pull/1589 </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:eyJjcmVhdGVkSW5WZXIiOiI0Mi43MC4yIiwidXBkYXRlZEluVmVyIjoiNDIuNzAuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiRGVwZW5kZW5jaWVzIiwiRGVwZW5kZW5jaWVzL1Jlbm92YXRlIl19-->
fix(deps): update rust crate rand_core to 0.10.0
Some checks failed
renovate/artifacts Artifact file update failure
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m27s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 2m58s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 58m48s
7b5a292bc2
Author
Collaborator

⚠️ Artifact update problem

Renovate failed to update an artifact 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 src/core/Cargo.toml --package rand_core@0.6.4 --precise 0.10.0
    Updating crates.io index
error: failed to select a version for the requirement `rand_core = "^0.6.4"`
candidate versions found which didn't match: 0.10.0
location searched: crates.io index
required by package `ruma-signatures v0.15.0 (https://forgejo.ellis.link/continuwuation/ruwuma?rev=bb12ed288a31a23aa11b10ba0fad22b7f985eb88#bb12ed28)`
    ... which satisfies git dependency `ruma-signatures` (locked to 0.15.0) of package `ruma v0.10.1 (https://forgejo.ellis.link/continuwuation/ruwuma?rev=bb12ed288a31a23aa11b10ba0fad22b7f985eb88#bb12ed28)`
    ... which satisfies git dependency `ruma` (locked to 0.10.1) of package `conduwuit_admin v0.5.6 (/tmp/renovate/repos/forgejo/continuwuation/continuwuity/src/admin)`
    ... which satisfies path dependency `conduwuit-admin` (locked to 0.5.6) of package `xtask v0.5.6 (/tmp/renovate/repos/forgejo/continuwuation/continuwuity/xtask)`

### ⚠️ Artifact update problem Renovate failed to update an artifact 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 src/core/Cargo.toml --package rand_core@0.6.4 --precise 0.10.0 Updating crates.io index error: failed to select a version for the requirement `rand_core = "^0.6.4"` candidate versions found which didn't match: 0.10.0 location searched: crates.io index required by package `ruma-signatures v0.15.0 (https://forgejo.ellis.link/continuwuation/ruwuma?rev=bb12ed288a31a23aa11b10ba0fad22b7f985eb88#bb12ed28)` ... which satisfies git dependency `ruma-signatures` (locked to 0.15.0) of package `ruma v0.10.1 (https://forgejo.ellis.link/continuwuation/ruwuma?rev=bb12ed288a31a23aa11b10ba0fad22b7f985eb88#bb12ed28)` ... which satisfies git dependency `ruma` (locked to 0.10.1) of package `conduwuit_admin v0.5.6 (/tmp/renovate/repos/forgejo/continuwuation/continuwuity/src/admin)` ... which satisfies path dependency `conduwuit-admin` (locked to 0.5.6) of package `xtask v0.5.6 (/tmp/renovate/repos/forgejo/continuwuation/continuwuity/xtask)` ```
Some checks failed
renovate/artifacts Artifact file update failure
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m27s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 2m58s
Required
Details
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 58m48s
Required
Details
This pull request is blocked because it's outdated.
This branch is out-of-date with the base branch
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_core-0.x:renovate/rand_core-0.x
git switch renovate/rand_core-0.x
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
continuwuation/continuwuity!1496
No description provided.