Skip to content

Commit a6c691f

Browse files
committed
properly mark optional dependencies optional
1 parent fa4f446 commit a6c691f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ rustdoc-args = ["--cfg", "docsrs"]
1919

2020
[dependencies]
2121
hyper = "1.1.0"
22-
futures-channel = "0.3"
2322
futures-util = { version = "0.3.16", default-features = false }
2423
http = "1.0"
2524
http-body = "1.0.0"
2625
bytes = "1"
2726
pin-project-lite = "0.2.4"
27+
futures-channel = { version = "0.3", optional = true }
2828
socket2 = { version = "0.5", optional = true, features = ["all"] }
29-
tracing = { version = "0.1", default-features = false, features = ["std"] }
29+
tracing = { version = "0.1", default-features = false, features = ["std"], optional = true }
3030
tokio = { version = "1", optional = true, features = ["net", "rt", "time"] }
3131
tower-service ={ version = "0.3", optional = true }
3232
tower = { version = "0.4.1", optional = true, features = ["make", "util"] }
@@ -57,7 +57,7 @@ full = [
5757
"tokio",
5858
]
5959

60-
client = ["hyper/client", "dep:tower", "dep:tower-service"]
60+
client = ["hyper/client", "dep:tracing", "dep:futures-channel", "dep:tower", "dep:tower-service"]
6161
client-legacy = ["client"]
6262

6363
server = ["hyper/server"]

0 commit comments

Comments
 (0)