@@ -33,7 +33,7 @@ default = ["default-tls", "charset", "http2", "macos-system-configuration"]
3333# functionality for it.
3434default-tls = [" dep:hyper-tls" , " dep:native-tls-crate" , " __tls" , " dep:tokio-native-tls" ]
3535
36- http2 = [" h2" , " hyper/http2" , " hyper-util/http2" ]
36+ http2 = [" h2" , " hyper/http2" , " hyper-util/http2" , " hyper-rustls?/http2 " ]
3737
3838# Enables native-tls specific functionality not available by default.
3939native-tls = [" default-tls" ]
@@ -138,7 +138,7 @@ native-tls-crate = { version = "0.2.10", optional = true, package = "native-tls"
138138tokio-native-tls = { version = " 0.3.0" , optional = true }
139139
140140# 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" ] }
142142rustls = { version = " 0.23.4" , optional = true , default-features = false , features = [" std" , " tls12" ] }
143143rustls-pki-types = { version = " 1.1.0" , features = [" alloc" ] ,optional = true }
144144tokio-rustls = { version = " 0.26" , optional = true , default-features = false , features = [" tls12" ] }
0 commit comments