Skip to content

Commit 12aaba0

Browse files
committed
Bump rand to v0.10
Release PR: rust-random/rand#1729
1 parent a85f989 commit 12aaba0

File tree

6 files changed

+27
-19
lines changed

6 files changed

+27
-19
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,3 @@ tls_codec_derive = { path = "./tls_codec/derive" }
6060
x509-tsp = { path = "./x509-tsp" }
6161
x509-cert = { path = "./x509-cert" }
6262
x509-ocsp = { path = "./x509-ocsp" }
63-
64-
rand = { git = "https://github.com/rust-random/rand" }

cms/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ hex-literal = "1"
4242
pem-rfc7468 = "1"
4343
pkcs5 = "0.8.0-rc.13"
4444
pbkdf2 = "0.13.0-rc.9"
45-
rand = "0.10.0-rc.8"
45+
rand = "0.10"
4646
rsa = { version = "0.10.0-rc.15", features = ["sha2"] }
4747
ecdsa = { version = "0.17.0-rc.16", features = ["digest", "pem"] }
4848
p256 = "0.14.0-rc.7"

x509-cert/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ tls_codec = { version = "0.4", default-features = false, features = ["derive"],
2929

3030
[dev-dependencies]
3131
hex-literal = "1"
32-
rand = "0.10.0-rc.8"
32+
rand = "0.10"
3333
rsa = { version = "0.10.0-rc.15", features = ["sha2"] }
3434
ecdsa = { version = "0.17.0-rc.16", features = ["digest", "pem"] }
3535
p256 = "0.14.0-rc.7"

x509-ocsp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ signature = { version = "3.0.0-rc.10", optional = true, default-features = false
2929
[dev-dependencies]
3030
hex-literal = "1"
3131
lazy_static = "1.5.0"
32-
rand = "0.10.0-rc.8"
32+
rand = "0.10"
3333
rsa = { version = "0.10.0-rc.15", default-features = false, features = ["encoding", "sha2"] }
3434
sha1 = { version = "0.11.0-rc.5", default-features = false, features = ["oid"] }
3535
sha2 = { version = "0.11.0-rc.5", default-features = false, features = ["oid"] }

x509-ocsp/src/builder/request.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ use x509_cert::{
3939
/// .with_request(Request::from_cert::<Sha1>(&issuer, &cert).unwrap())
4040
/// .build();
4141
///
42-
/// let mut rng = rand::thread_rng();
42+
/// let mut rng = rand::rng();
4343
///
4444
/// let req = OcspRequestBuilder::default()
4545
/// .with_request(Request::from_issuer::<Sha1>(&issuer, SerialNumber::from(2usize)).unwrap())

0 commit comments

Comments
 (0)