Skip to content

Update Rust crate rand_core to 0.10#309

Open
oxide-renovate[bot] wants to merge 1 commit intomainfrom
renovate/rand
Open

Update Rust crate rand_core to 0.10#309
oxide-renovate[bot] wants to merge 1 commit intomainfrom
renovate/rand

Conversation

@oxide-renovate
Copy link
Copy Markdown
Contributor

@oxide-renovate oxide-renovate bot commented Apr 1, 2025

This PR contains the following updates:

Package Type Update Change
rand_core (source) workspace.dependencies minor 0.60.10

Release Notes

rust-random/rand_core (rand_core)

v0.10.1

Compare Source

Fixed
  • Reference to the rand crate in TryRng docs (#​75)

v0.10.0

Fixed
  • Reference to the rand crate in TryRng docs (#​75)

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: (in timezone America/Los_Angeles)

  • Branch creation
    • "after 8pm,before 6am"
  • Automerge
    • "after 8pm,before 6am"

🚦 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.

@oxide-renovate oxide-renovate bot added the dependencies Pull requests that update a dependency file label Apr 1, 2025
@oxide-renovate
Copy link
Copy Markdown
Contributor Author

oxide-renovate bot commented Apr 1, 2025

⚠️ 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 Cargo.toml --workspace
    Updating crates.io index
    Updating git repository `https://github.com/oxidecomputer/async-bb8-diesel`
From https://github.com/oxidecomputer/async-bb8-diesel
 * [new ref]         f049570ff89080b2385c637af4c0e614b0a124a4 -> refs/commit/f049570ff89080b2385c637af4c0e614b0a124a4
    Updating git repository `https://github.com/oxidecomputer/dropshot-verified-body`
From https://github.com/oxidecomputer/dropshot-verified-body
 * [new ref]         6f709859b2f7bb2aed26a8eb784319b9ac587a9f -> refs/commit/6f709859b2f7bb2aed26a8eb784319b9ac587a9f
error: failed to select a version for `rand_core`.
    ... required by package `rfd-api v0.14.1 (/tmp/renovate/repos/github/oxidecomputer/rfd-api/rfd-api)`
versions that meet the requirements `^0.10` are: 0.10.0

package `rfd-api` depends on `rand_core` with feature `std` but `rand_core` does not have that feature.


failed to select a version for `rand_core` which could resolve this conflict

@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 2 times, most recently from 4e7dc38 to 572e203 Compare April 23, 2025 03:09
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 3 times, most recently from 6a502d5 to 2c6c960 Compare July 23, 2025 03:55
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 3 times, most recently from f6113a9 to f67721f Compare August 6, 2025 03:04
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 3 times, most recently from 98495fd to c402d20 Compare August 14, 2025 03:33
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 4 times, most recently from 088fe62 to 47a6427 Compare August 21, 2025 09:46
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 2 times, most recently from fc99da3 to 29e6964 Compare October 30, 2025 03:28
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 2 times, most recently from 8d1f5f1 to 11fe66d Compare January 8, 2026 04:26
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 3 times, most recently from 389c3fc to 0a47399 Compare January 25, 2026 04:33
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 3 times, most recently from 09c8d4a to 610f193 Compare February 1, 2026 09:27
@oxide-renovate oxide-renovate bot changed the title Update rand Update rand to 0.10.0 Feb 9, 2026
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 4 times, most recently from 7e53156 to f703a33 Compare February 21, 2026 04:14
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 2 times, most recently from 5574874 to edf0463 Compare March 24, 2026 03:31
@oxide-renovate oxide-renovate bot changed the title Update rand to 0.10.0 Update rand Apr 11, 2026
@oxide-renovate oxide-renovate bot changed the title Update rand Update Rust crate rand_core to 0.10 Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants