Skip to content

Update Rust crate rand_core to 0.10#246

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

Update Rust crate rand_core to 0.10#246
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
error: failed to select a version for `rand_core`.
    ... required by package `v-api v0.2.0 (/tmp/renovate/repos/github/oxidecomputer/v-api/v-api)`
versions that meet the requirements `^0.10` are: 0.10.0

package `v-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 4947f95 to a5d27e8 Compare April 10, 2025 03:08
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 2 times, most recently from 83a7580 to fd72f51 Compare April 24, 2025 03:14
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 2 times, most recently from b939461 to 0315e77 Compare June 11, 2025 03:33
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 4 times, most recently from d68813b to d08a00e Compare July 3, 2025 15:03
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 2 times, most recently from 25a9895 to ce684ea Compare July 21, 2025 03:07
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 4 times, most recently from f900940 to fca5b26 Compare July 31, 2025 03:04
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 3 times, most recently from ff11945 to 8d753e7 Compare August 8, 2025 03:04
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 3 times, most recently from 6706c7c to b6de8f5 Compare August 14, 2025 03:35
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 2 times, most recently from 9a1d5b7 to 34d7377 Compare November 4, 2025 04:17
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 3 times, most recently from 7dc0c21 to f508b45 Compare January 8, 2026 04:28
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 3 times, most recently from 271eaba to da1247d Compare January 28, 2026 04:35
@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 52ebd1b to fa17215 Compare February 24, 2026 04:39
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 4 times, most recently from a00c3be to 71bdc49 Compare March 21, 2026 03:39
@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 2 times, most recently from 8a0c4a5 to 739d868 Compare March 28, 2026 03:42
@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