]> git.proxmox.com Git - rustc.git/blame - vendor/rand_core-0.5.1/CHANGELOG.md
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / vendor / rand_core-0.5.1 / CHANGELOG.md
CommitLineData
416331ca
XL
1# Changelog
2All notable changes to this project will be documented in this file.
3
4The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
60c5eb7d
XL
7## [0.5.1] - 2019-08-28
8- `OsRng` added to `rand_core` (#863)
9- `Error::INTERNAL_START` and `Error::CUSTOM_START` constants (#864)
10- `Error::raw_os_error` method (#864)
11- `Debug` and `Display` formatting for `getrandom` error codes without `std` (#864)
12### Changed
13- `alloc` feature in `no_std` is available since Rust 1.36 (#856)
14- Added `#[inline]` to `Error` conversion methods (#864)
15
416331ca 16## [0.5.0] - 2019-06-06
60c5eb7d 17### Changed
416331ca
XL
18- Enable testing with Miri and fix incorrect pointer usages (#779, #780, #781, #783, #784)
19- Rewrite `Error` type and adjust API (#800)
20- Adjust usage of `#[inline]` for `BlockRng` and `BlockRng64`
21
22## [0.4.0] - 2019-01-24
60c5eb7d 23### Changed
416331ca
XL
24- Disable the `std` feature by default (#702)
25
26## [0.3.0] - 2018-09-24
60c5eb7d 27### Added
416331ca
XL
28- Add `SeedableRng::seed_from_u64` for convenient seeding. (#537)
29
30## [0.2.1] - 2018-06-08
60c5eb7d 31### Added
416331ca
XL
32- References to a `CryptoRng` now also implement `CryptoRng`. (#470)
33
34## [0.2.0] - 2018-05-21
60c5eb7d 35### Changed
416331ca
XL
36- Enable the `std` feature by default. (#409)
37- Remove `BlockRng{64}::inner` and `BlockRng::inner_mut`; instead making `core` public
416331ca 38- Change `BlockRngCore::Results` bound to also require `AsMut<[Self::Item]>`. (#419)
60c5eb7d
XL
39### Added
40- Add `BlockRng{64}::index` and `BlockRng{64}::generate_and_set`. (#374, #419)
416331ca
XL
41- Implement `std::io::Read` for RngCore. (#434)
42
43## [0.1.0] - 2018-04-17
60c5eb7d
XL
44(Split out of the Rand crate, changes here are relative to rand 0.4.2.)
45### Added
416331ca
XL
46- `RngCore` and `SeedableRng` are now part of `rand_core`. (#288)
47- Add modules to help implementing RNGs `impl` and `le`. (#209, #228)
48- Add `Error` and `ErrorKind`. (#225)
49- Add `CryptoRng` marker trait. (#273)
50- Add `BlockRngCore` trait. (#281)
51- Add `BlockRng` and `BlockRng64` wrappers to help implementations. (#281, #325)
60c5eb7d
XL
52- Add `RngCore::try_fill_bytes`. (#225)
53### Changed
416331ca
XL
54- Revise the `SeedableRng` trait. (#233)
55- Remove default implementations for `RngCore::next_u64` and `RngCore::fill_bytes`. (#288)
416331ca
XL
56
57## [0.0.1] - 2017-09-14 (yanked)
58Experimental version as part of the rand crate refactor.