Skip to content

Commit 9acbf91

Browse files
Raymondjbr
authored andcommitted
revert malformated toml
1 parent b03d176 commit 9acbf91

File tree

1 file changed

+42
-43
lines changed

1 file changed

+42
-43
lines changed

Cargo.toml

Lines changed: 42 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,79 @@
11
[package]
2-
authors = [
3-
"Yoshua Wuyts <[email protected]>",
4-
"dignifiedquire <[email protected]>",
5-
"Jeremiah Senkpiel <[email protected]>",
6-
]
7-
categories = ["asynchronous", "web-programming", "web-programming::http-client", "web-programming::websocket"]
8-
description = "Types and traits for http clients."
2+
name = "http-client"
3+
version = "6.2.0"
4+
license = "MIT OR Apache-2.0"
5+
repository = "https://github.com/http-rs/http-client"
96
documentation = "https://docs.rs/http-client"
10-
edition = "2018"
7+
description = "Types and traits for http clients."
118
keywords = ["http", "service", "client", "futures", "async"]
12-
license = "MIT OR Apache-2.0"
13-
name = "http-client"
9+
categories = ["asynchronous", "web-programming", "web-programming::http-client", "web-programming::websocket"]
10+
authors = [
11+
"Yoshua Wuyts <[email protected]>",
12+
"dignifiedquire <[email protected]>",
13+
"Jeremiah Senkpiel <[email protected]>"
14+
]
1415
readme = "README.md"
15-
repository = "https://github.com/http-rs/http-client"
16-
version = "6.2.0"
16+
edition = "2018"
1717

1818
[package.metadata.docs.rs]
1919
features = ["docs"]
2020
rustdoc-args = ["--cfg", "feature=\"docs\""]
2121

2222
[features]
23-
curl_client = ["isahc", "async-std"]
2423
default = ["h1_client"]
2524
docs = ["h1_client"]
2625
h1_client = ["async-h1", "async-std", "async-native-tls"]
27-
hyper_client = ["hyper", "hyper-tls", "http-types/hyperium_http", "futures-util"]
2826
native_client = ["curl_client", "wasm_client"]
27+
curl_client = ["isahc", "async-std"]
2928
wasm_client = ["js-sys", "web-sys", "wasm-bindgen", "wasm-bindgen-futures", "futures"]
29+
hyper_client = ["hyper", "hyper-tls", "http-types/hyperium_http", "futures-util"]
3030

3131
[dependencies]
3232
async-trait = "0.1.37"
3333
http-types = "2.3.0"
3434
log = "0.4.7"
3535

3636
# h1_client
37-
async-h1 = {version = "2.0.0", optional = true}
38-
async-native-tls = {version = "0.3.1", optional = true}
39-
async-std = {version = "1.6.0", default-features = false, optional = true}
37+
async-h1 = { version = "2.0.0", optional = true }
38+
async-std = { version = "1.6.0", default-features = false, optional = true }
39+
async-native-tls = { version = "0.3.1", optional = true }
4040

4141
# hyper_client
42-
futures-util = {version = "0.3.5", optional = true}
43-
hyper = {version = "0.13.6", features = ["tcp"], optional = true}
44-
hyper-tls = {version = "0.4.3", optional = true}
42+
hyper = { version = "0.13.6", features = ["tcp"], optional = true }
43+
hyper-tls = { version = "0.4.3", optional = true }
44+
futures-util = { version = "0.3.5", optional = true }
4545

4646
# curl_client
4747
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
48-
isahc = {version = "0.9", optional = true, default-features = false, features = ["http2"]}
48+
isahc = { version = "0.9", optional = true, default-features = false, features = ["http2"] }
4949

5050
# wasm_client
5151
[target.'cfg(target_arch = "wasm32")'.dependencies]
52-
futures = {version = "0.3.1", optional = true}
53-
js-sys = {version = "0.3.25", optional = true}
54-
wasm-bindgen = {version = "0.2.48", optional = true}
55-
wasm-bindgen-futures = {version = "0.4.5", optional = true}
52+
js-sys = { version = "0.3.25", optional = true }
53+
wasm-bindgen = { version = "0.2.48", optional = true }
54+
wasm-bindgen-futures = { version = "0.4.5", optional = true }
55+
futures = { version = "0.3.1", optional = true }
5656

5757
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
58+
version = "0.3.25"
59+
optional = true
5860
features = [
59-
"AbortSignal",
60-
"Headers",
61-
"ObserverCallback",
62-
"ReferrerPolicy",
63-
"Request",
64-
"RequestCache",
65-
"RequestCredentials",
66-
"RequestInit",
67-
"RequestMode",
68-
"RequestRedirect",
69-
"Response",
70-
"Window",
71-
"WorkerGlobalScope",
61+
"AbortSignal",
62+
"Headers",
63+
"ObserverCallback",
64+
"ReferrerPolicy",
65+
"Request",
66+
"RequestCache",
67+
"RequestCredentials",
68+
"RequestInit",
69+
"RequestMode",
70+
"RequestRedirect",
71+
"Response",
72+
"Window",
7273
]
73-
optional = true
74-
version = "0.3.25"
7574

7675
[dev-dependencies]
77-
async-std = {version = "1.6.0", features = ["unstable", "attributes"]}
76+
async-std = { version = "1.6.0", features = ["unstable", "attributes"] }
7877
portpicker = "0.1.0"
79-
tide = {version = "0.13.0"}
80-
tokio = {version = "0.2.21", features = ["macros"]}
78+
tide = { version = "0.13.0" }
79+
tokio = { version = "0.2.21", features = ["macros"] }

0 commit comments

Comments
 (0)