@@ -21,33 +21,33 @@ docs = ["h1_client"]
2121h1_client = [" async-h1" , " async-std" , " async-native-tls" ]
2222native_client = [" curl_client" , " wasm_client" ]
2323curl_client = [" isahc" , " async-std" ]
24- wasm_client = [" js-sys" , " web-sys" , " wasm-bindgen" , " wasm-bindgen-futures" ]
25- hyper_client = [" hyper" , " hyper-tls" ]
24+ wasm_client = [" js-sys" , " web-sys" , " wasm-bindgen" , " wasm-bindgen-futures" , " futures " ]
25+ hyper_client = [" hyper" , " hyper-tls" , " http-types/hyperium_http " ]
2626
2727[dependencies ]
28- futures = { version = " 0.3.1 " }
29- http-types = { version = " 2.3.0" , features = [ " hyperium_http " ] }
28+ async-trait = " 0.1.37 "
29+ http-types = " 2.3.0"
3030log = " 0.4.7"
3131
32- # h1-client
32+ # h1_client
3333async-h1 = { version = " 2.0.0" , optional = true }
3434async-std = { version = " 1.6.0" , default-features = false , optional = true }
3535async-native-tls = { version = " 0.3.1" , optional = true }
3636
37- # reqwest-client
37+ # hyper_client
3838hyper = { version = " 0.13.6" , features = [" tcp" ], optional = true }
3939hyper-tls = { version = " 0.4.3" , optional = true }
40- async-trait = " 0.1.37"
4140
42- # isahc-client
41+ # curl_client
4342[target .'cfg(not(target_arch = "wasm32"))' .dependencies ]
4443isahc = { version = " 0.9" , optional = true , default-features = false , features = [" http2" ] }
4544
46- # wasm-client
45+ # wasm_client
4746[target .'cfg(target_arch = "wasm32")' .dependencies ]
4847js-sys = { version = " 0.3.25" , optional = true }
4948wasm-bindgen = { version = " 0.2.48" , optional = true }
5049wasm-bindgen-futures = { version = " 0.4.5" , optional = true }
50+ futures = { version = " 0.3.1" , optional = true }
5151
5252[target .'cfg(target_arch = "wasm32")' .dependencies .web-sys ]
5353version = " 0.3.25"
0 commit comments