Skip to content

Commit 9ab4ec7

Browse files
committed
test
1 parent 77d4ec3 commit 9ab4ec7

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Cargo.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,10 @@ criterion = { version = "0.6", features = ["html_reports", "async_tokio"] }
105105

106106
# Rustls
107107
#
108-
# NOTE: Some upstream crates (including redis-rs' rustls integration) may depend on rustls with
109-
# default features disabled, which means no crypto provider (ring/aws-lc-rs) is selected.
110-
# We explicitly enable the ring provider to avoid runtime panics.
111-
rustls = { version = "0.23.32", default-features = false, features = ["std", "webpki", "ring"] }
108+
# NOTE: rustls 0.23 requires selecting exactly one process-wide crypto provider
109+
# (features: `ring` or `aws_lc_rs` / `aws-lc-rs`). Some dependency graphs (e.g. via
110+
# redis-rs' rustls integration) can end up with *no* provider enabled, which causes a
111+
# runtime panic when building TLS client/server configs.
112+
#
113+
# We explicitly enable the `ring` provider here to make TLS work reliably.
114+
rustls = { version = "0.23.32", default-features = false, features = ["std", "ring"] }

0 commit comments

Comments
 (0)