You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3.0 KiB
3.0 KiB
Changelog
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.
[0.6.2] - 2021-02-12
Fixed
- Fixed assertions in
le::read_u32_into
andle::read_u64_into
which could have allowed buffers not to be fully populated (#1096)
[0.6.1] - 2021-01-03
Fixed
- Avoid panic when using
RngCore::seed_from_u64
with a seed which is not a multiple of four (#1082)
Other
- Enable all stable features in the playground (#1081)
[0.6.0] - 2020-12-08
Breaking changes
- Bump MSRV to 1.36, various code improvements (#1011)
- Update to getrandom v0.2 (#1041)
- Fix:
next_u32_via_fill
andnext_u64_via_fill
now use LE as documented (#1061)
Other
- Reduce usage of
unsafe
(#962, #963, #1011) - Annotate feature-gates in documentation (#1019)
- Document available error codes (#1061)
- Various documentation tweaks
- Fix some clippy warnings (#1036)
- Apply rustfmt (#926)
[0.5.1] - 2019-08-28
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)
Changed
alloc
feature inno_std
is available since Rust 1.36 (#856)- Added
#[inline]
toError
conversion methods (#864)
[0.5.0] - 2019-06-06
Changed
- 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
[0.4.0] - 2019-01-24
Changed
- Disable the
std
feature by default (#702)
[0.3.0] - 2018-09-24
Added
- Add
SeedableRng::seed_from_u64
for convenient seeding. (#537)
[0.2.1] - 2018-06-08
Added
- References to a
CryptoRng
now also implementCryptoRng
. (#470)
[0.2.0] - 2018-05-21
Changed
- 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)
Added
- Add
BlockRng{64}::index
andBlockRng{64}::generate_and_set
. (#374, #419) - Implement
std::io::Read
for RngCore. (#434)
[0.1.0] - 2018-04-17
(Split out of the Rand crate, changes here are relative to rand 0.4.2.)
Added
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)
Changed
- Revise the
SeedableRng
trait. (#233) - Remove default implementations for
RngCore::next_u64
andRngCore::fill_bytes
. (#288)
[0.0.1] - 2017-09-14 (yanked)
Experimental version as part of the rand crate refactor.