Skip to content

[PR] Update Rust crate rand_core to 0.10.0 - #20

Closed
vxfemboy wants to merge 1 commit into
mainfrom
renovate/rand_core-0.x
Closed

vxfemboy wants to merge 1 commit into
mainfrom
renovate/rand_core-0.x

Conversation

@vxfemboy

@vxfemboy vxfemboy commented Jul 27, 2026 •

Copy link
Copy Markdown
Owner

Mirrored from Forgejo — originally by @renovate. https://virus.ad/vxfemboy/purrcrypt/pulls/21

This PR contains the following updates:

Package Type Update Change
rand_core (source) dependencies minor 0.6.4 → 0.10.0

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

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

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

v0.9.2

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

Compare Source

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

v0.9.0

Compare Source

Dependencies and features
API changes
  • Allow rand_core::impls::fill_via_u*_chunks to mutate source (rand#1182)
  • Add fn RngCore::read_adapter implementing std::io::Read (rand#1267)
  • Add trait CryptoBlockRng: BlockRngCore; make trait CryptoRng: RngCore replacing CryptoRngCore (rand#1273)
  • Add traits TryRngCore, TryCryptoRng (rand#1424, rand#1499)
  • Rename fn SeedableRng::from_rng -> try_from_rng and add infallible variant fn from_rng (rand#1424)
  • Rename fn SeedableRng::from_entropy -> from_os_rng and add fallible variant fn try_from_os_rng (rand#1424)
  • Add bounds Clone and AsRef to associated type SeedableRng::Seed (rand#1491)

Configuration

📅 Schedule: (UTC)

  • 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 Mend Renovate.

@vxfemboy vxfemboy changed the title Update Rust crate rand_core to 0.10.0 [PR] Update Rust crate rand_core to 0.10.0 Jul 27, 2026
@vxfemboy vxfemboy closed this Jul 27, 2026
@vxfemboy
vxfemboy deleted the renovate/rand_core-0.x branch July 29, 2026 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants