@@ -33,7 +33,7 @@ default = ["default-tls", "charset", "http2", "macos-system-configuration"]
33
33
# functionality for it.
34
34
default-tls = [" dep:hyper-tls" , " dep:native-tls-crate" , " __tls" , " dep:tokio-native-tls" ]
35
35
36
- http2 = [" h2" , " hyper/http2" , " hyper-util/http2" ]
36
+ http2 = [" h2" , " hyper/http2" , " hyper-util/http2" , " hyper-rustls?/http2 " ]
37
37
38
38
# Enables native-tls specific functionality not available by default.
39
39
native-tls = [" default-tls" ]
@@ -138,7 +138,7 @@ native-tls-crate = { version = "0.2.10", optional = true, package = "native-tls"
138
138
tokio-native-tls = { version = " 0.3.0" , optional = true }
139
139
140
140
# rustls-tls
141
- hyper-rustls = { version = " 0.27.0" , default-features = false , optional = true , features = [" http1" , " http2 " , " tls12" ] }
141
+ hyper-rustls = { version = " 0.27.0" , default-features = false , optional = true , features = [" http1" , " tls12" ] }
142
142
rustls = { version = " 0.23.4" , optional = true , default-features = false , features = [" std" , " tls12" ] }
143
143
rustls-pki-types = { version = " 1.1.0" , features = [" alloc" ] ,optional = true }
144
144
tokio-rustls = { version = " 0.26" , optional = true , default-features = false , features = [" tls12" ] }
0 commit comments