Skip to content

Commit dce53f9

Browse files
committed
Disable 'aws-lc-rs' entirely
Different crates depending on 'rustls' were using 'aws-lc-rs' and 'ring'. Ideally, the choice should be left to the top-level application (i.e. here), but 'kmip-protocol' currently enables 'ring'. For simplicity, the remaining crates have been stopped from enabling 'aws-lc-rs', so now 'ring' is the only enabled crypto provider.
1 parent 639ca32 commit dce53f9

File tree

3 files changed

+4
-220
lines changed

3 files changed

+4
-220
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ rand = "0.9.2"
5252
rcgen = { version = "0.14.3", optional = true }
5353
rpki = { version = "0.18", features = ["crypto"] }
5454
tokio = { version = "1.47.1", features = ["macros", "io-util", "net", "rt-multi-thread"] }
55-
rustls = "0.23.31"
55+
rustls = { version = "0.23.31", default-features = false, features = ["ring", "logging", "std"] }
5656
serde = { version = "1.0.219", features = ["derive"] }
5757
toml = "0.9.5"
58-
tokio-rustls = "0.26.2"
58+
tokio-rustls = { version = "0.26.2", default-features = false, features = ["logging", "tls12"] }
5959

6060

6161
[dev-dependencies]

0 commit comments

Comments
 (0)