From e1f1e416786b1fa19afffdd52326482b63234ee3 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Sun, 28 Dec 2025 08:45:11 -0700 Subject: [PATCH] Use `getrandom` v0.4.0-rc.0 crate release (#861) rust-random/rand#1697 which updates `rand_core` to v0.10.0-rc-3 for the `rand` crate has been merged. This removes `patch.crates-io` for `getrandom` and pins to the merged commit revision for `rand`, as well as bumping the `getrandom` dependency of `x25519-dalek` to v0.4.0-rc.0. --- Cargo.toml | 4 +--- x25519-dalek/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e334f27..eeb5901 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,6 +15,4 @@ curve25519-dalek-derive = { path = "./curve25519-dalek-derive" } curve25519-dalek = { path = "./curve25519-dalek" } x25519-dalek = { path = "./x25519-dalek" } -# https://github.com/rust-random/rand/pull/1697 -rand = { git = "https://github.com/rust-random/rand", rev = "99ae06fb348e5c5fee0fe41d2201bd4cbb107635" } -getrandom = { git = "https://github.com/rust-random/getrandom.git", rev = "f67c70110f706f80d7dd6fa52e38d0920754fe2c" } +rand = { git = "https://github.com/rust-random/rand", rev = "ff07ec205347dd749a586aaee7218cb21590ea4c" } diff --git a/x25519-dalek/Cargo.toml b/x25519-dalek/Cargo.toml index 066e857..2c02e67 100644 --- a/x25519-dalek/Cargo.toml +++ b/x25519-dalek/Cargo.toml @@ -46,7 +46,7 @@ curve25519-dalek = { version = "=5.0.0-pre.3", default-features = false } rand_core = { version = "0.10.0-rc-3", default-features = false } # optional dependencies -getrandom = { version = "0.3", optional = true } +getrandom = { version = "0.4.0-rc.0", optional = true } serde = { version = "1", default-features = false, optional = true, features = ["derive"] } zeroize = { version = "1", default-features = false, optional = true }