Skip to content

Commit d5b06c5

Browse files
authored
Bump rand_core to v0.10.0-rc-2 (#2086)
This also accordingly bumps all of the underlying crates to versions which (transitively) depend on the `rand`/`rand_core` v0.10 release series
1 parent a152ff1 commit d5b06c5

File tree

11 files changed

+164
-136
lines changed

11 files changed

+164
-136
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,11 @@ tls_codec_derive = { path = "./tls_codec/derive" }
5959
x509-tsp = { path = "./x509-tsp" }
6060
x509-cert = { path = "./x509-cert" }
6161
x509-ocsp = { path = "./x509-ocsp" }
62+
63+
elliptic-curve = { git = "https://github.com/RustCrypto/traits" }
64+
crypto-primes = { git = "https://github.com/baloo/crypto-primes.git", branch = "baloo/rand_core/0.10.0-rc.2" }
65+
ff = { git = "https://github.com/tarcieri/ff", branch = "rand_core/v0.10.0-rc-2" }
66+
group = { git = "https://github.com/tarcieri/group", branch = "rand_core/v0.10.0-rc-2" }
67+
p256 = { git = "https://github.com/RustCrypto/elliptic-curves " }
68+
primefield = { git = "https://github.com/RustCrypto/elliptic-curves " }
69+
rsa = { git = "https://github.com/RustCrypto/RSA" }

cmpv2/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ der = { version = "0.8.0-rc.9", features = ["alloc", "derive", "flagset", "oid"]
2121
spki = "0.8.0-rc.4"
2222
x509-cert = { version = "0.3.0-rc.0", default-features = false }
2323

24-
digest = { version = "0.11.0-pre.10", optional = true, default-features = false }
24+
# optional features
25+
digest = { version = "0.11.0-rc.4", optional = true, default-features = false }
2526

2627
[dev-dependencies]
27-
const-oid = { version = "0.10.0-rc.0", features = ["db"] }
28+
const-oid = { version = "0.10", features = ["db"] }
2829
hex-literal = "1"
2930

3031
[features]

cms/Cargo.toml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,31 +21,31 @@ spki = "0.8.0-rc.4"
2121
x509-cert = { version = "0.3.0-rc.2", default-features = false }
2222

2323
# optional dependencies
24-
aes = { version = "0.9.0-rc.1", optional = true }
25-
aes-kw = { version = "0.3.0-rc.0", optional = true }
26-
ansi-x963-kdf = { version = "0.1.0-rc.0", optional = true }
27-
cbc = { version = "0.2.0-rc.1", optional = true }
28-
cipher = { version = "0.5.0-rc.1", features = ["alloc", "block-padding", "rand_core"], optional = true }
29-
digest = { version = "0.11.0-rc.1", optional = true }
30-
elliptic-curve = { version = "0.14.0-rc.14", optional = true }
31-
rsa = { version = "0.10.0-rc.8", optional = true }
32-
sha1 = { version = "0.11.0-rc.2", optional = true }
33-
sha2 = { version = "0.11.0-rc.2", optional = true }
24+
aes = { version = "0.9.0-rc.2", optional = true }
25+
aes-kw = { version = "0.3.0-rc.1", optional = true }
26+
ansi-x963-kdf = { version = "0.1.0-rc.1", optional = true }
27+
cbc = { version = "0.2.0-rc.2", optional = true }
28+
cipher = { version = "0.5.0-rc.2", features = ["alloc", "block-padding", "rand_core"], optional = true }
29+
digest = { version = "0.11.0-rc.4", optional = true }
30+
elliptic-curve = { version = "0.14.0-rc.16", optional = true }
31+
rsa = { version = "0.10.0-rc.9", optional = true }
32+
sha1 = { version = "0.11.0-rc.3", optional = true }
33+
sha2 = { version = "0.11.0-rc.3", optional = true }
3434
sha3 = { version = "0.11.0-rc.3", optional = true }
35-
signature = { version = "3.0.0-rc.3", features = ["digest", "alloc"], optional = true }
35+
signature = { version = "3.0.0-rc.5", features = ["digest", "alloc"], optional = true }
3636
zeroize = { version = "1.8.1", optional = true }
3737

3838
[dev-dependencies]
39-
aes = "0.9.0-rc.1"
39+
aes = "0.9.0-rc.2"
4040
getrandom = "0.3"
4141
hex-literal = "1"
4242
pem-rfc7468 = "1.0.0-rc.1"
4343
pkcs5 = "0.8.0-rc.6"
4444
pbkdf2 = "0.13.0-rc.1"
45-
rand = "0.9"
45+
rand = "0.10.0-rc.1"
4646
rsa = { version = "0.10.0-rc.6", features = ["sha2"] }
4747
ecdsa = { version = "0.17.0-rc.6", features = ["digest", "pem"] }
48-
p256 = "=0.14.0-pre.11"
48+
p256 = "0.14.0-rc.0"
4949
tokio = { version = "1.45.1", features = ["macros", "rt"] }
5050
x509-cert = { version = "0.3.0-rc.0", features = ["pem"] }
5151

crmf/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spki = "0.8.0-rc.3"
2222
x509-cert = { version = "0.3.0-rc.0", default-features = false }
2323

2424
[dev-dependencies]
25-
const-oid = "0.10.0-rc.0"
25+
const-oid = "0.10"
2626

2727
[features]
2828
alloc = ["der/alloc"]

pkcs12/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ rust-version = "1.85"
1919
der = { version = "0.8.0-rc.9", features = ["alloc", "derive", "oid"], default-features = false }
2020
spki = { version = "0.8.0-rc.4", default-features = false }
2121
x509-cert = { version = "0.3.0-rc.0", default-features = false }
22-
const-oid = { version = "0.10.0", features = ["db"], default-features = false }
22+
const-oid = { version = "0.10", features = ["db"], default-features = false }
2323
cms = { version = "=0.3.0-pre.0", default-features = false }
2424

2525
# optional dependencies
26-
digest = { version = "0.11.0-rc.0", features = ["alloc"], optional = true }
26+
digest = { version = "0.11.0-rc.4", features = ["alloc"], optional = true }
2727
zeroize = { version = "1.8.1", optional = true, default-features = false }
2828

2929
[dev-dependencies]
3030
hex-literal = "1"
31-
pkcs8 = { version = "0.11.0-rc.6", features = ["pkcs5", "getrandom"] }
31+
pkcs8 = { version = "0.11.0-rc.7", features = ["pkcs5"] }
3232
pkcs5 = { version = "0.8.0-rc.6", features = ["pbes2", "3des"] }
33-
sha2 = "0.11.0-rc.0"
34-
whirlpool = "0.11.0-rc.0"
33+
sha2 = "0.11.0-rc.3"
34+
whirlpool = "0.11.0-rc.3"
3535

3636
[features]
3737
default = ["pem"]

pkcs5/Cargo.toml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ der = { version = "0.8.0-rc.9", features = ["oid"] }
2020
spki = "0.8.0-rc.4"
2121

2222
# optional dependencies
23-
cbc = { version = "0.2.0-rc.1", optional = true }
24-
aes = { version = "0.9.0-rc.1", optional = true, default-features = false }
25-
aes-gcm = { version = "0.11.0-rc.1", optional = true, default-features = false, features = ["aes"] }
26-
des = { version = "0.9.0-rc.1", optional = true, default-features = false }
27-
pbkdf2 = { version = "0.13.0-rc.1", optional = true, default-features = false, features = ["hmac"] }
28-
rand_core = { version = "0.9", optional = true, default-features = false }
23+
cbc = { version = "0.2.0-rc.2", optional = true }
24+
aes = { version = "0.9.0-rc.2", optional = true, default-features = false }
25+
aes-gcm = { version = "0.11.0-rc.2", optional = true, default-features = false, features = ["aes"] }
26+
des = { version = "0.9.0-rc.2", optional = true, default-features = false }
27+
pbkdf2 = { version = "0.13.0-rc.2", optional = true, default-features = false, features = ["hmac"] }
28+
rand_core = { version = "0.10.0-rc-2", optional = true, default-features = false }
2929
scrypt = { version = "0.12.0-rc.2", optional = true, default-features = false }
30-
sha1 = { version = "0.11.0-rc.2", optional = true, default-features = false }
31-
sha2 = { version = "0.11.0-rc.2", optional = true, default-features = false }
30+
sha1 = { version = "0.11.0-rc.3", optional = true, default-features = false }
31+
sha2 = { version = "0.11.0-rc.3", optional = true, default-features = false }
3232

3333
[dev-dependencies]
3434
hex-literal = "1"
@@ -39,7 +39,6 @@ std = []
3939

4040
3des = ["dep:des", "pbes2"]
4141
des-insecure = ["dep:des", "pbes2"]
42-
getrandom = ["rand_core/os_rng"]
4342
pbes2 = ["dep:aes", "dep:cbc", "dep:pbkdf2", "dep:scrypt", "dep:sha2", "dep:aes-gcm"]
4443
sha1-insecure = ["dep:sha1", "pbes2"]
4544

pkcs8/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ der = { version = "0.8.0-rc.9", features = ["oid"] }
2121
spki = "0.8.0-rc.4"
2222

2323
# optional dependencies
24-
rand_core = { version = "0.9", optional = true, default-features = false }
24+
rand_core = { version = "0.10.0-rc-2", optional = true, default-features = false }
2525
pkcs5 = { version = "0.8.0-rc.8", optional = true, features = ["rand_core"] }
2626
subtle = { version = "2", optional = true, default-features = false }
2727

@@ -36,7 +36,6 @@ std = ["alloc", "der/std", "spki/std"]
3636
3des = ["encryption", "pkcs5/3des"]
3737
des-insecure = ["encryption", "pkcs5/des-insecure"]
3838
encryption = ["alloc", "pkcs5/alloc", "pkcs5/pbes2", "rand_core"]
39-
getrandom = ["rand_core/os_rng"]
4039
pem = ["alloc", "der/pem", "spki/pem"]
4140
sha1-insecure = ["encryption", "pkcs5/sha1-insecure"]
4241

spki/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ der = { version = "0.8.0-rc.9", features = ["oid"] }
2121
# Optional dependencies
2222
arbitrary = { version = "1.4", features = ["derive"], optional = true }
2323
base64ct = { version = "1", optional = true, default-features = false }
24-
digest = { version = "0.11.0-rc.0", optional = true, default-features = false }
25-
sha2 = { version = "0.11.0-rc.0", optional = true, default-features = false }
24+
digest = { version = "0.11.0-rc.4", optional = true, default-features = false }
25+
sha2 = { version = "0.11.0-rc.2", optional = true, default-features = false }
2626

2727
[dev-dependencies]
2828
hex-literal = "1"

x509-cert/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ spki = { version = "0.8.0-rc.4", features = ["alloc"] }
2222

2323
# optional dependencies
2424
arbitrary = { version = "1.4", features = ["derive"], optional = true }
25-
digest = { version = "0.11.0-rc.0", optional = true, default-features = false }
26-
sha1 = { version = "0.11.0-rc.2", default-features = false, optional = true }
27-
signature = { version = "3.0.0-rc.3", features = ["rand_core"], optional = true }
25+
digest = { version = "0.11.0-rc.4", optional = true, default-features = false }
26+
sha1 = { version = "0.11.0-rc.3", default-features = false, optional = true }
27+
signature = { version = "3.0.0-rc.5", features = ["rand_core"], optional = true }
2828
tls_codec = { version = "0.4", default-features = false, features = ["derive"], optional = true }
2929

3030
[dev-dependencies]
3131
hex-literal = "1"
32-
rand = "0.9"
32+
rand = "0.10.0-rc.1"
3333
rsa = { version = "0.10.0-rc.8", features = ["sha2"] }
3434
ecdsa = { version = "0.17.0-rc.6", features = ["digest", "pem"] }
35-
p256 = "=0.14.0-pre.11"
35+
p256 = "0.14.0-rc.0"
3636
rstest = "0.26"
37-
sha2 = { version = "0.11.0-rc.2", features = ["oid"] }
37+
sha2 = { version = "0.11.0-rc.3", features = ["oid"] }
3838
tempfile = "3.5"
3939
tokio = { version = "1.45", features = ["macros", "rt"] }
4040
x509-cert-test-support = { path = "./test-support" }

0 commit comments

Comments
 (0)