Skip to content

Commit b0d0f4b

Browse files
committed
ocs: Add comments why we can't bump
1 parent 718418d commit b0d0f4b

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

Cargo.toml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ axum = { version = "0.8.1", features = ["http2"] }
1717
base64 = "0.22"
1818
clap = { version = "4.5.17", features = ["derive", "cargo", "env"] }
1919
const_format = "0.2.33"
20-
# Cannot be updated until x509-cert uses a newer version
20+
# Pinned to the old RustCrypto generation: const-oid 0.10 requires x509-cert 0.3,
21+
# which is not released yet. Tracking: https://github.com/RustCrypto/formats/issues/1289
22+
# See also the rand/rand_core and sha2/signature pins below.
2123
const-oid = { version = "0.9.6", features = ["db"] }
2224
convert_case = "0.11.0"
2325
convert_case_extras = "0.2.0"
@@ -54,7 +56,10 @@ pin-project = "1.1.5"
5456
prettyplease = "0.2.22"
5557
proc-macro2 = "1.0.86"
5658
quote = "1.0.37"
57-
# Cannot be updated until x509-cert uses a newer version
59+
# Pinned to the old RustCrypto generation: rand_core 0.9+ (and the matching rand) pulls
60+
# in the new digest/signature ecosystem that rsa 0.9 and x509-cert 0.2 do not support yet.
61+
# Bumping splits the graph into duplicate, incompatible crate versions.
62+
# Unblocked once rsa 0.10 (currently in RC) lands: https://github.com/RustCrypto/RSA
5863
rand = "0.9.0"
5964
rand_core = "0.6.4"
6065
regex = "1.12.4"
@@ -66,6 +71,9 @@ semver = "1.0.23"
6671
serde = { version = "1.0.210", features = ["derive"] }
6772
serde_json = "1.0.128"
6873
serde_yaml = "0.9.34" # This is the last available version, see https://github.com/dtolnay/serde-yaml/releases/tag/0.9.34 for details
74+
# Pinned to the old RustCrypto generation (digest 0.10 / signature 2.x): sha2 0.11 uses
75+
# digest 0.11 and signature 3.0, which rsa 0.9 and x509-cert 0.2 do not support yet.
76+
# Unblocked once rsa 0.10 (currently in RC) lands: https://github.com/RustCrypto/RSA
6977
sha2 = { version = "0.10.8", features = ["oid"] }
7078
signature = "2.2.0"
7179
snafu = "0.9.1"

0 commit comments

Comments
 (0)