Skip to content

Commit 1afe88e

Browse files
authored
Depend on quinn/rustls-aws-lc-rs to avoid ring dependency (#2917)
1 parent 62a80af commit 1afe88e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ __tls = ["dep:rustls-pki-types", "tokio/io-util"]
8888

8989
# Enables common rustls code.
9090
__rustls = ["dep:hyper-rustls", "dep:tokio-rustls", "dep:rustls", "__tls"]
91-
__rustls-aws-lc-rs = ["hyper-rustls?/aws-lc-rs", "tokio-rustls?/aws-lc-rs", "rustls?/aws-lc-rs", "quinn?/aws-lc-rs"]
91+
__rustls-aws-lc-rs = ["hyper-rustls?/aws-lc-rs", "tokio-rustls?/aws-lc-rs", "rustls?/aws-lc-rs", "quinn?/rustls-aws-lc-rs"]
9292

9393
# Enables common native-tls code.
9494
__native-tls = ["dep:hyper-tls", "dep:native-tls-crate", "__tls", "dep:tokio-native-tls"]
@@ -159,7 +159,7 @@ once_cell = { version = "1.18", optional = true }
159159
# HTTP/3 experimental support
160160
h3 = { version = "0.0.8", optional = true }
161161
h3-quinn = { version = "0.0.10", optional = true }
162-
quinn = { version = "0.11.1", default-features = false, features = ["rustls", "runtime-tokio"], optional = true }
162+
quinn = { version = "0.11.1", default-features = false, features = ["runtime-tokio"], optional = true }
163163
futures-channel = { version = "0.3", optional = true }
164164

165165
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]

0 commit comments

Comments
 (0)