Skip to content

Commit 1172d82

Browse files
authored
Merge pull request #97 from rust-random/push-tkkwmkolmqyv
Prepare new releases over rand_core v0.10
2 parents b450246 + edf8dc0 commit 1172d82

File tree

18 files changed

+89
-59
lines changed

18 files changed

+89
-59
lines changed

Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benches/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ publish = false
88
[dev-dependencies]
99
criterion = "0.5.0"
1010
criterion-cycles-per-byte = "0.6"
11-
rand_core = "0.10.0-rc-6"
11+
rand_core = "0.10.0"
1212
rand_chacha = { path = "../rand_chacha", version = "0.10.0-rc.6" }
1313
rand_xoshiro = { path = "../rand_xoshiro", version = "0.8.0-rc.0" }
1414
rand_isaac = { path = "../rand_isaac", version = "0.5.0-rc.0" }

rand_chacha/CHANGELOG.md

Lines changed: 57 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,53 +4,87 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [Unreleased]
7+
## [0.10.0] - 2026-02-01
8+
The crate was moved from the rand repo ([rand#1658]) to the rngs repo ([#92]).
9+
810
### Changed
9-
- Bump MSRV to 1.85 and edition to 2024 (#1671)
10-
- Remove feature `os_rng` (#1674)
11+
- Bump MSRV to 1.85 and edition to 2024 ([rand#1671])
12+
- Update to `rand_core` v0.10 ([rand#1712], [#96])
13+
- Remove feature `os_rng` ([rand#1674])
14+
15+
[rand#1658]: https://github.com/rust-random/rand/pull/1658
16+
[rand#1671]: https://github.com/rust-random/rand/pull/1671
17+
[rand#1674]: https://github.com/rust-random/rand/pull/1674
18+
[rand#1712]: https://github.com/rust-random/rand/pull/1712
19+
[#92]: https://github.com/rust-random/rngs/pull/92
20+
[#96]: https://github.com/rust-random/rngs/pull/96
1121

1222
## [0.9.0] - 2025-01-27
1323
### Dependencies and features
14-
- Update to `rand_core` v0.9.0 (#1558)
15-
- Feature `std` now implies feature `rand_core/std` (#1153)
16-
- Rename feature `serde1` to `serde` (#1477)
17-
- Rename feature `getrandom` to `os_rng` (#1537)
24+
- Update to `rand_core` v0.9.0 ([rand#1558])
25+
- Feature `std` now implies feature `rand_core/std` ([rand#1153])
26+
- Rename feature `serde1` to `serde` ([rand#1477])
27+
- Rename feature `getrandom` to `os_rng` ([rand#1537])
1828

1929
### Other changes
20-
- Remove usage of `unsafe` in `fn generate` (#1181) then optimise for AVX2 (~4-7%) (#1192)
21-
- Revise crate docs (#1454)
30+
- Remove usage of `unsafe` in `fn generate` ([rand#1181]) then optimise for AVX2 (~4-7%) ([rand#1192])
31+
- Revise crate docs ([rand#1454])
32+
33+
[rand#1558]: https://github.com/rust-random/rand/pull/1558
34+
[rand#1537]: https://github.com/rust-random/rand/pull/1537
35+
[rand#1477]: https://github.com/rust-random/rand/pull/1477
36+
[rand#1454]: https://github.com/rust-random/rand/pull/1454
37+
[rand#1192]: https://github.com/rust-random/rand/pull/1192
38+
[rand#1181]: https://github.com/rust-random/rand/pull/1181
39+
[rand#1153]: https://github.com/rust-random/rand/pull/1153
2240

2341
## [0.3.1] - 2021-06-09
24-
- add getters corresponding to existing setters: `get_seed`, `get_stream` (#1124)
25-
- add serde support, gated by the `serde1` feature (#1124)
26-
- ensure expected layout via `repr(transparent)` (#1120)
42+
- add getters corresponding to existing setters: `get_seed`, `get_stream` ([rand#1124])
43+
- add serde support, gated by the `serde1` feature ([rand#1124])
44+
- ensure expected layout via `repr(transparent)` ([rand#1120])
45+
46+
[rand#1124]: https://github.com/rust-random/rand/pull/1124
47+
[rand#1120]: https://github.com/rust-random/rand/pull/1120
2748

2849
## [0.3.0] - 2020-12-08
2950
- Bump `rand_core` version to 0.6.0
30-
- Bump MSRV to 1.36 (#1011)
31-
- Remove usage of deprecated feature "simd" of `ppv-lite86` (#979), then revert
32-
this change (#1023) since SIMD is only enabled by default from `ppv-lite86 v0.2.10`
33-
- impl PartialEq+Eq for ChaChaXRng and ChaChaXCore (#979)
34-
- Fix panic on block counter wrap that was occurring in debug builds (#980)
51+
- Bump MSRV to 1.36 ([rand#1011])
52+
- Remove usage of deprecated feature "simd" of `ppv-lite86` ([rand#979]), then revert
53+
this change ([rand#1023]) since SIMD is only enabled by default from `ppv-lite86 v0.2.10`
54+
- impl PartialEq+Eq for ChaChaXRng and ChaChaXCore ([rand#979])
55+
- Fix panic on block counter wrap that was occurring in debug builds ([rand#980])
56+
57+
[rand#1020]: https://github.com/rust-random/rand/pull/1020
58+
[rand#1011]: https://github.com/rust-random/rand/pull/1011
59+
[rand#980]: https://github.com/rust-random/rand/pull/980
60+
[rand#979]: https://github.com/rust-random/rand/pull/979
3561

3662
## [0.2.2] - 2020-03-09
37-
- Integrate `c2-chacha`, reducing dependency count (#931)
38-
- Add CryptoRng to ChaChaXCore (#944)
63+
- Integrate `c2-chacha`, reducing dependency count ([rand#931])
64+
- Add CryptoRng to ChaChaXCore ([rand#944])
65+
66+
[rand#944]: https://github.com/rust-random/rand/pull/944
67+
[rand#931]: https://github.com/rust-random/rand/pull/931
3968

4069
## [0.2.1] - 2019-07-22
41-
- Force enable the `simd` feature of `c2-chacha` (#845)
70+
- Force enable the `simd` feature of `c2-chacha` ([rand#845])
71+
72+
[rand#845]: https://github.com/rust-random/rand/pull/845
4273

4374
## [0.2.0] - 2019-06-06
44-
- Rewrite based on the much faster `c2-chacha` crate (#789)
75+
- Rewrite based on the much faster `c2-chacha` crate ([rand#789])
76+
77+
[rand#789]: https://github.com/rust-random/rand/pull/789
4578

4679
## [0.1.1] - 2019-01-04
47-
- Disable `i128` and `u128` if the `target_os` is `emscripten` (#671: work-around Emscripten limitation)
80+
- Disable `i128` and `u128` if the `target_os` is `emscripten` ([rand#671]: work-around Emscripten limitation)
4881
- Update readme and doc links
4982

83+
[rand#671]: https://github.com/rust-random/rand/pull/671
84+
5085
## [0.1.0] - 2018-10-17
5186
- Pulled out of the Rand crate
5287

53-
[Unreleased]: https://github.com/rust-random/rand/compare/0.9.0...HEAD
5488
[0.9.0]: https://github.com/rust-random/rand/compare/rand_chacha-0.3.1...0.9.0
5589
[0.3.1]: https://github.com/rust-random/rand/compare/rand_chacha-0.3.0...rand_chacha-0.3.1
5690
[0.3.0]: https://github.com/rust-random/rand/compare/rand_chacha-0.2.2...rand_chacha-0.3.0

rand_chacha/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rand_chacha"
3-
version = "0.10.0-rc.6"
3+
version = "0.10.0"
44
authors = ["The Rand Project Developers", "The Rust Project Developers", "The CryptoCorrosion Contributors"]
55
license = "MIT OR Apache-2.0"
66
readme = "README.md"
@@ -20,7 +20,7 @@ all-features = true
2020
rustdoc-args = ["--generate-link-to-definition"]
2121

2222
[dependencies]
23-
rand_core = { version = "0.10.0-rc-6" }
23+
rand_core = { version = "0.10.0" }
2424
ppv-lite86 = { version = "0.2.14", default-features = false, features = ["simd"] }
2525
serde = { version = "1.0", features = ["derive"], optional = true }
2626

rand_chacha/src/chacha.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use crate::guts::ChaCha;
1212
use core::convert::Infallible;
1313
use core::fmt;
14-
use rand_core::block::{BlockRng, CryptoGenerator, Generator};
14+
use rand_core::block::{BlockRng, Generator};
1515
use rand_core::{SeedableRng, TryCryptoRng, TryRng};
1616

1717
#[cfg(feature = "serde")]
@@ -57,8 +57,6 @@ macro_rules! chacha_impl {
5757
}
5858
}
5959

60-
impl CryptoGenerator for $ChaChaXCore {}
61-
6260
/// A cryptographically secure random number generator that uses the ChaCha algorithm.
6361
///
6462
/// ChaCha is a stream cipher designed by Daniel J. Bernstein[^1], that we use as an RNG. It is

rand_hc/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [Unreleased]
7+
## [0.5.0] - 2026-02-01
88
### Changes
99
- Use Edition 2024 and MSRV 1.85 ([#73])
1010
- Update to `rand_core` v0.10 ([#82])

rand_hc/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rand_hc"
3-
version = "0.5.0-rc.0"
3+
version = "0.5.0"
44
authors = ["The Rand Project Developers"]
55
license = "MIT OR Apache-2.0"
66
readme = "README.md"
@@ -16,4 +16,4 @@ edition = "2024"
1616
rust-version = "1.85"
1717

1818
[dependencies]
19-
rand_core = "0.10.0-rc-6"
19+
rand_core = "0.10.0"

rand_hc/src/hc128.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
//! The HC-128 random number generator.
1616
1717
use core::{convert::Infallible, fmt};
18-
use rand_core::block::{BlockRng, CryptoGenerator, Generator};
18+
use rand_core::block::{BlockRng, Generator};
1919
use rand_core::{SeedableRng, TryCryptoRng, TryRng, utils};
2020

2121
const SEED_WORDS: usize = 8; // 128 bit key followed by 128 bit iv
@@ -342,8 +342,6 @@ impl SeedableRng for Hc128Core {
342342
}
343343
}
344344

345-
impl CryptoGenerator for Hc128Core {}
346-
347345
// Custom PartialEq implementation as it can't currently be derived from an array of size 1024
348346
impl PartialEq for Hc128Core {
349347
fn eq(&self, rhs: &Self) -> bool {

rand_isaac/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [Unreleased]
7+
## [0.5.0] - 2026-02-01
88
### Value-breaking changes
99
- Drop use of half-used words in `Isaac64Rng::next_u32` ([#82])
1010

rand_isaac/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rand_isaac"
3-
version = "0.5.0-rc.0"
3+
version = "0.5.0"
44
authors = ["The Rand Project Developers", "The Rust Project Developers"]
55
license = "MIT OR Apache-2.0"
66
readme = "README.md"
@@ -22,7 +22,7 @@ all-features = true
2222
serde = ["dep:serde", "dep:serde_arrays"]
2323

2424
[dependencies]
25-
rand_core = "0.10.0-rc-6"
25+
rand_core = "0.10.0"
2626
serde = { version = "1.0.104", features = ["derive"], optional = true }
2727
serde_arrays = { version = "0.2.0", optional = true }
2828

0 commit comments

Comments
 (0)