All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
serde
impls on BlockRng
(#1130)le::read_u32_into
and le::read_u64_into
which could have allowed buffers not to be fully populated (#1096)RngCore::seed_from_u64
with a seed which is not a multiple of four (#1082)next_u32_via_fill
and next_u64_via_fill
now use LE as documented (#1061)unsafe
(#962, #963, #1011)OsRng
added to rand_core
(#863)Error::INTERNAL_START
and Error::CUSTOM_START
constants (#864)Error::raw_os_error
method (#864)Debug
and Display
formatting for getrandom
error codes without std
(#864)alloc
feature in no_std
is available since Rust 1.36 (#856)#[inline]
to Error
conversion methods (#864)Error
type and adjust API (#800)#[inline]
for BlockRng
and BlockRng64
std
feature by default (#702)SeedableRng::seed_from_u64
for convenient seeding. (#537)CryptoRng
now also implement CryptoRng
. (#470)std
feature by default. (#409)BlockRng{64}::inner
and BlockRng::inner_mut
; instead making core
publicBlockRngCore::Results
bound to also require AsMut<[Self::Item]>
. (#419)BlockRng{64}::index
and BlockRng{64}::generate_and_set
. (#374, #419)std::io::Read
for RngCore. (#434)(Split out of the Rand crate, changes here are relative to rand 0.4.2.)
RngCore
and SeedableRng
are now part of rand_core
. (#288)impl
and le
. (#209, #228)Error
and ErrorKind
. (#225)CryptoRng
marker trait. (#273)BlockRngCore
trait. (#281)BlockRng
and BlockRng64
wrappers to help implementations. (#281, #325)RngCore::try_fill_bytes
. (#225)SeedableRng
trait. (#233)RngCore::next_u64
and RngCore::fill_bytes
. (#288)Experimental version as part of the rand crate refactor.