Skip to content

Commit d59ff0e

Browse files
authored
Merge pull request #42 from Fishrock123/cargo-toml-deps-features-cleanup
Cargo toml deps features cleanup
2 parents 8520058 + 5241905 commit d59ff0e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,33 +21,33 @@ docs = ["h1_client"]
2121
h1_client = ["async-h1", "async-std", "async-native-tls"]
2222
native_client = ["curl_client", "wasm_client"]
2323
curl_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"
3030
log = "0.4.7"
3131

32-
# h1-client
32+
# h1_client
3333
async-h1 = { version = "2.0.0", optional = true }
3434
async-std = { version = "1.6.0", default-features = false, optional = true }
3535
async-native-tls = { version = "0.3.1", optional = true }
3636

37-
# reqwest-client
37+
# hyper_client
3838
hyper = { version = "0.13.6", features = ["tcp"], optional = true }
3939
hyper-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]
4443
isahc = { version = "0.9", optional = true, default-features = false, features = ["http2"] }
4544

46-
# wasm-client
45+
# wasm_client
4746
[target.'cfg(target_arch = "wasm32")'.dependencies]
4847
js-sys = { version = "0.3.25", optional = true }
4948
wasm-bindgen = { version = "0.2.48", optional = true }
5049
wasm-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]
5353
version = "0.3.25"

0 commit comments

Comments
 (0)