rdrand/
changelog.rs

1//! Project changelog
2
3
4/// Fix the implementation of `try_fill_bytes` when the buffer is aligned but the size is not a
5/// multiple of a word size.
6pub mod r0_8_2 {}
7
8/// Disallow use of `rdrand`/`rdseed` on known-broken AMD systems.
9pub mod r0_8_1 {}
10
11/// ## Breaking changes
12///
13/// * Upgrade to `rand_core = ^0.6.0`.
14pub mod r0_8_0 {}
15
16/// ## Breaking changes
17///
18/// Upgrade to `rand_core = ^0.5.1`. This involves a major change to how errors are handled. See
19/// [`ErrorCode`](crate::ErrorCode).
20///
21/// rustc version 1.42 is now required to build the library (up from 1.32).
22pub mod r0_7_0 {}
23
24/// Fix unsound mutable reference aliasing in the implementation of `try_fill_bytes`.
25///
26/// The affected code has been replaced with safer one where the scope of `unsafe` is reduced to
27/// the loop which obtains a random word via a native instruction.
28///
29/// ## Breaking changes
30///
31/// rustc version 1.32 is now required to build the library (up from 1.30).
32pub mod r0_6_0 {}
33
34/// Replaced likely unsound use of `core::mem::uninitialized()`.
35pub mod r0_5_1 {}
36
37/// ## Breaking changes
38///
39/// Updated rand_core dependency from `0.3` to `0.4`.
40pub mod r0_5_0 {}
41
42/// ## Breaking changes
43///
44/// Crate gained an enabled-by-default `std` feature. If you relied on rdrand being `core`-able
45/// change your dependency to appear as such:
46///
47/// ```toml
48/// rdrand = { version = "0.4", default-features = false }
49/// ```
50///
51/// This is done so that an advantage of the common feature detection functionality could be
52/// employed by users that are not constrained by `core`. This functionality is faster, caches the
53/// results and is shared between all users of the functionality.
54///
55/// For `core` usage the feature detection has also been improved and will not be done if e.g.
56/// crate is built with `rdrand` instructions enabled globally.
57pub mod r0_4_0 {}
58
59/// Crate now works on stable!
60///
61/// ## Breaking changes
62///
63/// * Updated to `rand_core = ^0.3`.
64pub mod r0_3_0 {}