File tree 3 files changed +4
-2
lines changed
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -100,4 +100,4 @@ jobs:
100
100
- name : Check all feature combinations works properly
101
101
# * `--feature-powerset` - run for the feature powerset of the package
102
102
# * `--no-dev-deps` - build without dev-dependencies to avoid https://github.com/rust-lang/cargo/issues/4866
103
- run : cargo hack check --feature-powerset --no-dev-deps --skip=default-client,wasm-client
103
+ run : cargo hack check --feature-powerset --no-dev-deps --skip=default-client,wasm-client --skip=h1-client,h1-client-rustls
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ h1-client = [
26
26
" http-client/native-tls" ,
27
27
" once_cell" ,
28
28
" default-client" ,
29
+ " async-native-tls" ,
29
30
]
30
31
h1-client-no-tls = [
31
32
" http-client/h1_client" ,
@@ -72,6 +73,7 @@ cfg-if = "1.0.0"
72
73
getrandom = " 0.2.0"
73
74
encoding_rs = { version = " 0.8.20" , optional = true }
74
75
rustls_crate = { version = " 0.18" , optional = true , package = " rustls" }
76
+ async-native-tls = { version = " 0.3.3" , optional = true }
75
77
76
78
web-sys = { optional = true , version = " 0.3.25" , features = [" TextDecoder" ] }
77
79
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ impl Config {
203
203
}
204
204
/// Set TLS Configuration (Native TLS)
205
205
#[ cfg_attr( feature = "docs" , doc( cfg( feature = "h1-client" ) ) ) ]
206
- #[ cfg( feature = "h1_client " ) ]
206
+ #[ cfg( feature = "h1-client " ) ]
207
207
pub fn set_tls_config (
208
208
mut self ,
209
209
tls_config : Option < std:: sync:: Arc < async_native_tls:: TlsConnector > > ,
You can’t perform that action at this time.
0 commit comments