|
11 | 11 | keywords = ["http", "hyper", "hyperium"]
|
12 | 12 | categories = ["network-programming", "web-programming::http-client", "web-programming::http-server"]
|
13 | 13 | edition = "2021"
|
| 14 | +resolver = "2" |
14 | 15 |
|
15 | 16 | [package.metadata.docs.rs]
|
16 | 17 | features = ["full"]
|
17 | 18 | rustdoc-args = ["--cfg", "docsrs"]
|
18 | 19 |
|
19 | 20 | [dependencies]
|
20 | 21 | hyper = "1.1.0"
|
21 |
| -futures-channel = "0.3" |
22 | 22 | futures-util = { version = "0.3.16", default-features = false }
|
23 | 23 | http = "1.0"
|
24 | 24 | http-body = "1.0.0"
|
25 | 25 | bytes = "1"
|
26 | 26 | pin-project-lite = "0.2.4"
|
| 27 | +futures-channel = { version = "0.3", optional = true } |
27 | 28 | socket2 = { version = "0.5", optional = true, features = ["all"] }
|
28 |
| -tracing = { version = "0.1", default-features = false, features = ["std"] } |
| 29 | +tracing = { version = "0.1", default-features = false, features = ["std"], optional = true } |
29 | 30 | tokio = { version = "1", optional = true, features = ["net", "rt", "time"] }
|
30 | 31 | tower-service ={ version = "0.3", optional = true }
|
31 | 32 | tower = { version = "0.4.1", optional = true, features = ["make", "util"] }
|
@@ -56,7 +57,7 @@ full = [
|
56 | 57 | "tokio",
|
57 | 58 | ]
|
58 | 59 |
|
59 |
| -client = ["hyper/client", "dep:tower", "dep:tower-service"] |
| 60 | +client = ["hyper/client", "dep:tracing", "dep:futures-channel", "dep:tower", "dep:tower-service"] |
60 | 61 | client-legacy = ["client"]
|
61 | 62 |
|
62 | 63 | server = ["hyper/server"]
|
|
0 commit comments