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.
This commit is contained in:
Tony Arcieri 2025-12-28 08:45:11 -07:00 committed by GitHub
parent 9d6ec949ad
commit e1f1e41678
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View file

@ -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" }

View file

@ -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 }