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
On this page
Latest version 0.10.1, released April 13, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
rand_core 0.10.0 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 - Removed
rand_core::block::BlockRng::reset
rand_core::block::BlockRng::reset was removed in rand_core 0.10.0 crates.io - Removed
rand_core::block::BlockRng64
rand_core::block::BlockRng64 was removed in rand_core 0.10.0 crates.io - Removed
rand_core::block::BlockRngCore
rand_core::block::BlockRngCore was removed in rand_core 0.10.0 crates.io - Removed
rand_core::block::CryptoBlockRng
rand_core::block::CryptoBlockRng was removed in rand_core 0.10.0 crates.io - Removed
rand_core::impls
rand_core::impls was removed in rand_core 0.10.0 crates.io - Removed
rand_core::le
rand_core::le was removed in rand_core 0.10.0 crates.io - Removed
rand_core::OsError
rand_core::OsError was removed in rand_core 0.10.0 crates.io - Removed
rand_core::OsRng
rand_core::OsRng was removed in rand_core 0.10.0 crates.io - Removed
rand_core::RngCore::fill_bytes
rand_core::RngCore::fill_bytes was removed in rand_core 0.10.0 crates.io - Removed
rand_core::RngCore::next_u32
rand_core::RngCore::next_u32 was removed in rand_core 0.10.0 crates.io - Removed
rand_core::RngCore::next_u64
rand_core::RngCore::next_u64 was removed in rand_core 0.10.0 crates.io - Removed
rand_core::RngReadAdapter
rand_core::RngReadAdapter was removed in rand_core 0.10.0 crates.io - Removed
rand_core::SeedableRng::from_os_rng
rand_core::SeedableRng::from_os_rng was removed in rand_core 0.10.0 crates.io - 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 - Removed
rand_core::TryRngCore::read_adapter
rand_core::TryRngCore::read_adapter was removed in rand_core 0.10.0 crates.io - Removed
rand_core::TryRngCore::try_fill_bytes
rand_core::TryRngCore::try_fill_bytes was removed in rand_core 0.10.0 crates.io - Removed
rand_core::TryRngCore::try_next_u32
rand_core::TryRngCore::try_next_u32 was removed in rand_core 0.10.0 crates.io - Removed
rand_core::TryRngCore::try_next_u64
rand_core::TryRngCore::try_next_u64 was removed in rand_core 0.10.0 crates.io - Removed
rand_core::TryRngCore::unwrap_err
rand_core::TryRngCore::unwrap_err was removed in rand_core 0.10.0 crates.io - Removed
rand_core::TryRngCore::unwrap_mut
rand_core::TryRngCore::unwrap_mut was removed in rand_core 0.10.0 crates.io - Removed
rand_core::UnwrapMut
rand_core::UnwrapMut was removed in rand_core 0.10.0 crates.io - Renamed
rand_core::block::BlockRng::index
Use rand_core::block::BlockRng::word_offset instead. crates.io - Signature changed
rand_core::block::BlockRng
Was struct BlockRng<R: BlockRngCore>; now struct BlockRng<G: Generator>. crates.io - Signature changed
rand_core::block::BlockRng::core
Was core: R; now core: G. crates.io - Signature changed
rand_core::block::BlockRng::new
Was fn new(core: R) -> BlockRng<R>; now fn new(core: G) -> BlockRng<G>. crates.io - Signature changed
rand_core::CryptoRng
Was trait CryptoRng: RngCore; now trait CryptoRng: Rng + TryCryptoRng<Error = Infallible>. crates.io - Signature changed
rand_core::RngCore
Was trait RngCore; now trait RngCore: Rng. crates.io - 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 - 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 - Signature changed
rand_core::TryCryptoRng
Was trait TryCryptoRng: TryRngCore; now trait TryCryptoRng: TryRng. crates.io - Signature changed
rand_core::TryRngCore
Was trait TryRngCore; now trait TryRngCore: TryRng. crates.io - Signature changed
rand_core::TryRngCore::Error
Was type Error: fmt::Debug + fmt::Display; now type Error: core::error::Error. crates.io - Signature changed
rand_core::UnwrapErr
Was struct UnwrapErr<R: TryRngCore>(pub R); now struct UnwrapErr<R: TryRng>(pub R). crates.io
rand_core 0.9.0 breaking changes
- Removed
rand_core::CryptoRngCore
rand_core::CryptoRngCore was removed in rand_core 0.9.0 crates.io - Removed
rand_core::Error
rand_core::Error was removed in rand_core 0.9.0 crates.io - Removed
rand_core::RngCore::try_fill_bytes
rand_core::RngCore::try_fill_bytes was removed in rand_core 0.9.0 crates.io - 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 - Signature changed
rand_core::block::BlockRng
Was struct BlockRng<R: BlockRngCore + ?Sized>; now struct BlockRng<R: BlockRngCore>. crates.io - Signature changed
rand_core::CryptoRng
CryptoRng is now declared as CryptoRng: RngCore. Implementors of CryptoRng must also implement RngCore. crates.io - 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 - 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 - 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 - 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
And 1 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.