From 3f34e898097723e887f3fb4ad657f6f5c5287314 Mon Sep 17 00:00:00 2001 From: Diggory Hardy Date: Tue, 3 Feb 2026 19:30:04 +0000 Subject: [PATCH 1/4] Bump versions --- Cargo.lock | 18 +++++++++--------- Cargo.toml | 10 +++++----- rand_pcg/Cargo.toml | 4 ++-- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b0dffda920..29d67cc9f1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,9 @@ version = 4 [[package]] name = "anyhow" -version = "1.0.100" +version = "1.0.101" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" +checksum = "5f0e0fee31ef5ed1ba1316088939cea399010ed7731dba877ed44aeb407a75ea" [[package]] name = "bitflags" @@ -22,9 +22,9 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "chacha20" -version = "0.10.0-rc.11" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14f3c04cdd19f5ed3271e460267fb1d94b7899ae1f7bb10ac3dfc3afb749d659" +checksum = "6f8d983286843e49675a4b7a2d174efe136dc93a18d69130dd18198a6c167601" dependencies = [ "cfg-if", "cpufeatures", @@ -42,9 +42,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.17" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" dependencies = [ "libc", ] @@ -183,9 +183,9 @@ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" [[package]] name = "memchr" -version = "2.7.6" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" +checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" [[package]] name = "postcard" @@ -256,7 +256,7 @@ checksum = "0c8d0fd677905edcbeedbf2edb6494d676f0e98d54d5cf9bda0b061cb8fb8aba" [[package]] name = "rand_pcg" -version = "0.10.0-rc.9" +version = "0.10.0" dependencies = [ "postcard", "rand_core", diff --git a/Cargo.toml b/Cargo.toml index 08bea58dfb..9dfcd6dcb0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rand" -version = "0.10.0-rc.9" +version = "0.10.0" authors = ["The Rand Project Developers", "The Rust Project Developers"] license = "MIT OR Apache-2.0" readme = "README.md" @@ -68,14 +68,14 @@ members = [ exclude = ["benches", "distr_test"] [dependencies] -rand_core = { version = "0.10.0-rc-6", default-features = false } +rand_core = { version = "0.10.0", default-features = false } log = { version = "0.4.4", optional = true } serde = { version = "1.0.103", features = ["derive"], optional = true } -chacha20 = { version = "0.10.0-rc.11", default-features = false, features = ["rng"], optional = true } -getrandom = { version = "0.4.0-rc.1", optional = true } +chacha20 = { version = "0.10.0", default-features = false, features = ["rng"], optional = true } +getrandom = { version = "0.4.0", optional = true } [dev-dependencies] -rand_pcg = { path = "rand_pcg", version = "0.10.0-rc.9" } +rand_pcg = { path = "rand_pcg", version = "0.10.0" } # Only to test serde postcard = {version = "1.1.3", default-features = false, features = ["alloc"]} rayon = "1.7" diff --git a/rand_pcg/Cargo.toml b/rand_pcg/Cargo.toml index 298a2e05e3..2a1ff2a45c 100644 --- a/rand_pcg/Cargo.toml +++ b/rand_pcg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rand_pcg" -version = "0.10.0-rc.9" +version = "0.10.0" authors = ["The Rand Project Developers"] license = "MIT OR Apache-2.0" readme = "README.md" @@ -23,7 +23,7 @@ rustdoc-args = ["--generate-link-to-definition"] serde = ["dep:serde"] [dependencies] -rand_core = { version = "0.10.0-rc-4" } +rand_core = { version = "0.10.0" } serde = { version = "1", features = ["derive"], optional = true } [dev-dependencies] From 4529986497800d89b7c2a658962d121f44ee5f98 Mon Sep 17 00:00:00 2001 From: Diggory Hardy Date: Tue, 3 Feb 2026 19:31:26 +0000 Subject: [PATCH 2/4] Update CHANGELOGs --- CHANGELOG.md | 5 +++-- rand_pcg/CHANGELOG.md | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 518509b973..7c32e4ef14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ A [separate changelog is kept for rand_core](https://github.com/rust-random/core You may also find the [Upgrade Guide](https://rust-random.github.io/book/update.html) useful. -## [Unreleased] +## [0.10.0] - 2026-02-08 ### Changes - The dependency on `rand_chacha` has been replaced with a dependency on `chacha20`. This changes the implementation behind `StdRng`, but the output remains the same. There may be some API breakage when using the ChaCha-types directly as these are now the ones in `chacha20` instead of `rand_chacha` ([#1642]). @@ -1146,7 +1146,8 @@ Code replaced with a compatibility layer over rand 0.4. ### Added - Separate `rand` out of the standard library -[Unreleased]: https://github.com/rust-random/rand/compare/0.9.2...HEAD +[Unreleased]: https://github.com/rust-random/rand/compare/0.10.0...HEAD +[0.10.0]: https://github.com/rust-random/rand/compare/0.9.2...0.10.0 [0.9.2]: https://github.com/rust-random/rand/compare/0.9.1...0.9.2 [0.9.1]: https://github.com/rust-random/rand/compare/0.9.0...0.9.1 [0.9.0]: https://github.com/rust-random/rand/compare/0.8.5...0.9.0 diff --git a/rand_pcg/CHANGELOG.md b/rand_pcg/CHANGELOG.md index 0e0d1d4293..0728129a80 100644 --- a/rand_pcg/CHANGELOG.md +++ b/rand_pcg/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [0.10.0] - 2026-02-08 ### Changes - Use Edition 2024 and MSRV 1.85 (#1653) - Update to `rand_core` v0.10.0 (#1729) @@ -54,7 +54,8 @@ Initial release, including: - `Lcg64Xsh32` aka `Pcg32` - `Mcg128Xsl64` aka `Pcg64Mcg` -[Unreleased]: https://github.com/rust-random/rand/compare/0.9.0...HEAD +[Unreleased]: https://github.com/rust-random/rand/compare/0.10.0...HEAD +[0.9.0]: https://github.com/rust-random/rand/compare/0.9.0...0.10.0 [0.9.0]: https://github.com/rust-random/rand/compare/rand_pcg-0.3.1...0.9.0 [0.3.1]: https://github.com/rust-random/rand/compare/rand_pcg-0.3.0...rand_pcg-0.3.1 [0.3.0]: https://github.com/rust-random/rand/compare/rand_pcg-0.2.1...rand_pcg-0.3.0 From 9047dda009309d78710ad07251c586758d519883 Mon Sep 17 00:00:00 2001 From: Diggory Hardy Date: Wed, 4 Feb 2026 09:04:27 +0000 Subject: [PATCH 3/4] Note rand version in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6047a1d3b8..0fb98fbb0c 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ Documentation: Rand is *mature* (suitable for general usage, with infrequent breaking releases which minimise breakage) but not yet at 1.0. Current `MAJOR.MINOR` versions are: -- Version 0.9 was released in January 2025. +- Version 0.10 was released in February 2026. See the [CHANGELOG](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) or [Upgrade Guide](https://rust-random.github.io/book/update.html) for more details. From c3034efe419fb0970f9e091d0d3ad56fbb1d2538 Mon Sep 17 00:00:00 2001 From: Diggory Hardy Date: Sun, 8 Feb 2026 07:39:07 +0000 Subject: [PATCH 4/4] Bump dependencies of benches --- benches/Cargo.lock | 26 +++++++++++++------------- benches/Cargo.toml | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/benches/Cargo.lock b/benches/Cargo.lock index 62591cf018..6fecb43a53 100644 --- a/benches/Cargo.lock +++ b/benches/Cargo.lock @@ -25,9 +25,9 @@ checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" [[package]] name = "anyhow" -version = "1.0.100" +version = "1.0.101" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" +checksum = "5f0e0fee31ef5ed1ba1316088939cea399010ed7731dba877ed44aeb407a75ea" [[package]] name = "autocfg" @@ -72,9 +72,9 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "chacha20" -version = "0.10.0-rc.11" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14f3c04cdd19f5ed3271e460267fb1d94b7899ae1f7bb10ac3dfc3afb749d659" +checksum = "6f8d983286843e49675a4b7a2d174efe136dc93a18d69130dd18198a6c167601" dependencies = [ "cfg-if", "cpufeatures", @@ -135,9 +135,9 @@ checksum = "c3e64b0cc0439b12df2fa678eae89a1c56a529fd067a9115f7827f1fffd22b32" [[package]] name = "cpufeatures" -version = "0.2.17" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" dependencies = [ "libc", ] @@ -363,9 +363,9 @@ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" [[package]] name = "memchr" -version = "2.7.6" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" +checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" [[package]] name = "num-traits" @@ -467,7 +467,7 @@ checksum = "0c8d0fd677905edcbeedbf2edb6494d676f0e98d54d5cf9bda0b061cb8fb8aba" [[package]] name = "rand_pcg" -version = "0.10.0-rc.9" +version = "0.10.0" dependencies = [ "rand_core", ] @@ -849,18 +849,18 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.8.38" +version = "0.8.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57cf3aa6855b23711ee9852dfc97dfaa51c45feaba5b645d0c777414d494a961" +checksum = "db6d35d663eadb6c932438e763b262fe1a70987f9ae936e60158176d710cae4a" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.38" +version = "0.8.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a616990af1a287837c4fe6596ad77ef57948f787e46ce28e166facc0cc1cb75" +checksum = "4122cd3169e94605190e77839c9a40d40ed048d305bfdc146e7df40ab0f3e517" dependencies = [ "proc-macro2", "quote", diff --git a/benches/Cargo.toml b/benches/Cargo.toml index cc1da706d6..bf24b39543 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -13,7 +13,7 @@ simd_support = ["rand/simd_support"] [dev-dependencies] rand = { path = ".." } rand_pcg = { path = "../rand_pcg" } -chacha20 = { version = "0.10.0-rc.11", default-features = false, features = ["rng"] } +chacha20 = { version = "0.10.0", default-features = false, features = ["rng"] } criterion = "0.5" criterion-cycles-per-byte = "0.6"