Skip to main content

rdrand/
changelog.rs

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