---
title: "rand_core 0.10.0 Breaking Changes on crates.io | Since.dev"
description: "What each rand_core release removed, renamed or changed: 45 breaking changes in 2 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/rand_core
last_updated: 2026-12-04
---

# rand_core breaking changes

rand_core 0.10.0 (February 1, 2026) is its newest release with breaking changes, 34 of them. The first: Removed rand_core::block::BlockRng::generate_and_set. Every breaking API change we have recorded in rand_core on crates.io: 45 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.10.1`, released April 13, 2026. [Source repository](https://github.com/rust-lang-nursery/rand)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.9.0](#v-0-9-0) to [0.10.0](#v-0-10-0): 34 breaking changes in 1 version.

## rand_core 0.10.0 breaking changes

rand_core 0.10.0, released February 1, 2026: 34 breaking changes.

- **Removed** `rand_core::block::BlockRng::generate_and_set`  

rand_core::block::BlockRng::generate_and_set was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::block::BlockRng::reset`  

rand_core::block::BlockRng::reset was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::block::BlockRng64`  

rand_core::block::BlockRng64 was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::block::BlockRngCore`  

rand_core::block::BlockRngCore was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::block::CryptoBlockRng`  

rand_core::block::CryptoBlockRng was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::impls`  

rand_core::impls was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::le`  

rand_core::le was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::OsError`  

rand_core::OsError was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::OsRng`  

rand_core::OsRng was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::RngCore::fill_bytes`  

rand_core::RngCore::fill_bytes was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::RngCore::next_u32`  

rand_core::RngCore::next_u32 was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::RngCore::next_u64`  

rand_core::RngCore::next_u64 was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::RngReadAdapter`  

rand_core::RngReadAdapter was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::SeedableRng::from_os_rng`  

rand_core::SeedableRng::from_os_rng was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::SeedableRng::try_from_os_rng`  

rand_core::SeedableRng::try_from_os_rng was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::TryRngCore::read_adapter`  

rand_core::TryRngCore::read_adapter was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::TryRngCore::try_fill_bytes`  

rand_core::TryRngCore::try_fill_bytes was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::TryRngCore::try_next_u32`  

rand_core::TryRngCore::try_next_u32 was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::TryRngCore::try_next_u64`  

rand_core::TryRngCore::try_next_u64 was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::TryRngCore::unwrap_err`  

rand_core::TryRngCore::unwrap_err was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::TryRngCore::unwrap_mut`  

rand_core::TryRngCore::unwrap_mut was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Removed** `rand_core::UnwrapMut`  

rand_core::UnwrapMut was removed in rand_core 0.10.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Renamed** `rand_core::block::BlockRng::index`  

Use rand_core::block::BlockRng::word_offset instead. [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Signature changed** `rand_core::block::BlockRng`  

Was struct BlockRng\<R: BlockRngCore>; now struct BlockRng\<G: Generator>. [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Signature changed** `rand_core::block::BlockRng::core`  

Was core: R; now core: G. [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Signature changed** `rand_core::block::BlockRng::new`  

Was fn new(core: R) -> BlockRng\<R>; now fn new(core: G) -> BlockRng\<G>. [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Signature changed** `rand_core::CryptoRng`  

Was trait CryptoRng: RngCore; now trait CryptoRng: Rng + TryCryptoRng\<Error = Infallible>. [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Signature changed** `rand_core::RngCore`  

Was trait RngCore; now trait RngCore: Rng. [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Signature changed** `rand_core::SeedableRng::from_rng`  

Was fn from_rng(rng: &mut impl RngCore) -> Self; now fn from_rng\<R: Rng + ?Sized>(rng: &mut R) -> Self. [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Signature changed** `rand_core::SeedableRng::try_from_rng`  

Was fn try_from_rng\<R: TryRngCore>(rng: &mut R) -> Result\<Self, R::Error>; now fn try_from_rng\<R: TryRng + ?Sized>(rng: &mut R) -> Result\<Self, R::Error>. [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Signature changed** `rand_core::TryCryptoRng`  

Was trait TryCryptoRng: TryRngCore; now trait TryCryptoRng: TryRng. [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Signature changed** `rand_core::TryRngCore`  

Was trait TryRngCore; now trait TryRngCore: TryRng. [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Signature changed** `rand_core::TryRngCore::Error`  

Was type Error: fmt::Debug + fmt::Display; now type Error: core::error::Error. [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)
- **Signature changed** `rand_core::UnwrapErr`  

Was struct UnwrapErr\<R: TryRngCore>(pub R); now struct UnwrapErr\<R: TryRng>(pub R). [crates.io](https://crates.io/crates/rand%5Fcore/0.10.0)

## rand_core 0.9.0 breaking changes

rand_core 0.9.0, released January 27, 2025: 11 breaking changes.

- **Removed** `rand_core::CryptoRngCore`  

rand_core::CryptoRngCore was removed in rand_core 0.9.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.9.0)
- **Removed** `rand_core::Error`  

rand_core::Error was removed in rand_core 0.9.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.9.0)
- **Removed** `rand_core::RngCore::try_fill_bytes`  

rand_core::RngCore::try_fill_bytes was removed in rand_core 0.9.0 [crates.io](https://crates.io/crates/rand%5Fcore/0.9.0)
- **Removed** `rand_core::SeedableRng::from_entropy`  

The entropy-based constructor was renamed to from_os_rng, with a fallible variant try_from_os_rng added. Callers must update the method name. [crates.io](https://crates.io/crates/rand%5Fcore/0.9.0)
- **Signature changed** `rand_core::block::BlockRng`  

Was struct BlockRng\<R: BlockRngCore + ?Sized>; now struct BlockRng\<R: BlockRngCore>. [crates.io](https://crates.io/crates/rand%5Fcore/0.9.0)
- **Signature changed** `rand_core::CryptoRng`  

CryptoRng is now declared as CryptoRng: RngCore. Implementors of CryptoRng must also implement RngCore. [crates.io](https://crates.io/crates/rand%5Fcore/0.9.0)
- **Signature changed** `rand_core::impls::fill_via_u32_chunks`  

Was fn fill_via_u32_chunks(src: &\[u32\], dest: &mut \[u8\]) -> (usize, usize); now fn fill_via_u32_chunks(src: &mut \[u32\], dest: &mut \[u8\]) -> (usize, usize). [crates.io](https://crates.io/crates/rand%5Fcore/0.9.0)
- **Signature changed** `rand_core::impls::fill_via_u64_chunks`  

Was fn fill_via_u64_chunks(src: &\[u64\], dest: &mut \[u8\]) -> (usize, usize); now fn fill_via_u64_chunks(src: &mut \[u64\], dest: &mut \[u8\]) -> (usize, usize). [crates.io](https://crates.io/crates/rand%5Fcore/0.9.0)
- **Signature changed** `rand_core::RngCore::fill_bytes`  

Was fn fill_bytes(&mut self, dest: &mut \[u8\]); now fn fill_bytes(&mut self, dst: &mut \[u8\]). [crates.io](https://crates.io/crates/rand%5Fcore/0.9.0)
- **Signature changed** `rand_core::SeedableRng::from_rng`  

The fallible constructor was renamed to try_from_rng, and from_rng now names a separate infallible variant. Code calling from_rng for fallible seeding must switch to try_from_rng. [crates.io](https://crates.io/crates/rand%5Fcore/0.9.0)

And 1 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
