Skip to content

Commit bfece1b

Browse files
committed
Change http3 feature to use rustls with no provider.
1 parent 747737b commit bfece1b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ system-proxy = ["hyper-util/client-proxy-system"]
9191
macos-system-configuration = ["system-proxy"]
9292

9393
# Experimental HTTP/3 client.
94-
http3 = ["rustls-tls-manual-roots", "dep:h3", "dep:h3-quinn", "dep:quinn", "tokio/macros"]
94+
http3 = ["http3-rustls-no-provider", "quinn/rustls-ring"]
95+
http3-rustls-no-provider = ["rustls-tls-manual-roots-no-provider", "dep:h3", "dep:h3-quinn", "dep:quinn", "tokio/macros"]
9596

9697

9798
# Internal (PRIVATE!) features used to aid testing.
@@ -169,7 +170,7 @@ once_cell = { version = "1.18", optional = true }
169170
# HTTP/3 experimental support
170171
h3 = { version = "0.0.8", optional = true }
171172
h3-quinn = { version = "0.0.10", optional = true }
172-
quinn = { version = "0.11.1", default-features = false, features = ["rustls", "runtime-tokio"], optional = true }
173+
quinn = { version = "0.11.1", default-features = false, features = ["runtime-tokio"], optional = true }
173174
futures-channel = { version = "0.3", optional = true }
174175

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

0 commit comments

Comments
 (0)