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.
OsRng
added torand_core
(#863)Error::INTERNAL_START
andError::CUSTOM_START
constants (#864)Error::raw_os_error
method (#864)Debug
andDisplay
formatting forgetrandom
error codes withoutstd
(#864)
alloc
feature inno_std
is available since Rust 1.36 (#856)- Added
#[inline]
toError
conversion methods (#864)
- Enable testing with Miri and fix incorrect pointer usages (#779, #780, #781, #783, #784)
- Rewrite
Error
type and adjust API (#800) - Adjust usage of
#[inline]
forBlockRng
andBlockRng64
- Disable the
std
feature by default (#702)
- Add
SeedableRng::seed_from_u64
for convenient seeding. (#537)
- References to a
CryptoRng
now also implementCryptoRng
. (#470)
- Enable the
std
feature by default. (#409) - Remove
BlockRng{64}::inner
andBlockRng::inner_mut
; instead makingcore
public - Change
BlockRngCore::Results
bound to also requireAsMut<[Self::Item]>
. (#419)
- Add
BlockRng{64}::index
andBlockRng{64}::generate_and_set
. (#374, #419) - Implement
std::io::Read
for RngCore. (#434)
(Split out of the Rand crate, changes here are relative to rand 0.4.2.)
RngCore
andSeedableRng
are now part ofrand_core
. (#288)- Add modules to help implementing RNGs
impl
andle
. (#209, #228) - Add
Error
andErrorKind
. (#225) - Add
CryptoRng
marker trait. (#273) - Add
BlockRngCore
trait. (#281) - Add
BlockRng
andBlockRng64
wrappers to help implementations. (#281, #325) - Add
RngCore::try_fill_bytes
. (#225)
- Revise the
SeedableRng
trait. (#233) - Remove default implementations for
RngCore::next_u64
andRngCore::fill_bytes
. (#288)
Experimental version as part of the rand crate refactor.