Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ exclude = ["benches", "distr_test"]
rand_core = { path = "rand_core" }

[dependencies]
Copy link

@tarcieri tarcieri Oct 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I usually put these at the bottom of the file but this should get CI green:

Suggested change
[dependencies]
[patch.crates-io.chacha20]
git = "https://github.com/RustCrypto/stream-ciphers"
[dependencies]

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but we don't actually want that (assuming the plan is to make crates.io releases of both crates today).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's worth to fix CI before merging. IIRC the patch section does not affect cargo publish, so you will be able to remove it in a separate PR after we will release cahcha20.

rand_core = { path = "rand_core", version = "0.9.0", default-features = false }
rand_core = { path = "rand_core", version = "0.10.0-rc.1", 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.2", default-features = false, features = ["rng"], optional = true }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
chacha20 = { version = "=0.10.0-rc.2", default-features = false, features = ["rng"], optional = true }
chacha20 = { version = "=0.10.0-rc.3", default-features = false, features = ["rng"], optional = true }

Expand Down
3 changes: 1 addition & 2 deletions rand_chacha/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,13 @@ all-features = true
rustdoc-args = ["--generate-link-to-definition"]

[dependencies]
rand_core = { path = "../rand_core", version = "0.9.0" }
rand_core = { path = "../rand_core", version = "0.10.0-rc.1" }
ppv-lite86 = { version = "0.2.14", default-features = false, features = ["simd"] }
serde = { version = "1.0", features = ["derive"], optional = true }

[dev-dependencies]
# Only to test serde
serde_json = "1.0.120"
rand_core = { path = "../rand_core", version = "0.9.0" }
rand = { path = "..", version = "0.10.0-rc.0" }

[features]
Expand Down
2 changes: 1 addition & 1 deletion rand_core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-rc.1] — 2025-10-30
### API changes
- Relax `Sized` bound on impls of `SeedableRng` (#1641)
- Move `rand_core::impls::*` to `rand_core::le` module (#1667)
Expand Down
2 changes: 1 addition & 1 deletion rand_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rand_core"
version = "0.9.3"
version = "0.10.0-rc.1"
authors = ["The Rand Project Developers", "The Rust Project Developers"]
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand Down
3 changes: 1 addition & 2 deletions rand_pcg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,11 @@ rustdoc-args = ["--generate-link-to-definition"]
serde = ["dep:serde"]

[dependencies]
rand_core = { path = "../rand_core", version = "0.9.0" }
rand_core = { path = "../rand_core", version = "0.10.0-rc.1" }
serde = { version = "1", features = ["derive"], optional = true }

[dev-dependencies]
# This is for testing serde, unfortunately we can't specify feature-gated dev
# deps yet, see: https://github.com/rust-lang/cargo/issues/1596
# Versions prior to 1.1.4 had incorrect minimal dependencies.
bincode = { version = "1.1.4" }
rand_core = { path = "../rand_core", version = "0.9.0" }
Loading