Skip to content

Commit d120a0e

Browse files
authored
deps: make futures-channel optional dependency (#1134)
1 parent 3641ea7 commit d120a0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ all-features = true
2626
async-compression = { version = "0.4.5", features = ["tokio"], optional = true }
2727
bytes = "1.0"
2828
futures-util = { version = "0.3", default-features = false, features = ["sink"] }
29-
futures-channel = { version = "0.3.17", features = ["sink"]}
29+
futures-channel = { version = "0.3.17", features = ["sink"], optional = true }
3030
headers = "0.4"
3131
http = "1"
3232
http-body = "1"
@@ -65,7 +65,7 @@ default = []
6565
multipart = ["dep:multer"]
6666
websocket = ["dep:hyper", "dep:tokio-tungstenite", "hyper-util/tokio"]
6767
server = ["dep:hyper", "dep:hyper-util", "tokio/net"]
68-
test = ["server", "hyper/client", "hyper/http1"]
68+
test = ["server", "hyper/client", "hyper/http1", "dep:futures-channel"]
6969
# tls might come back, uncertain
7070
#tls = ["tokio-rustls", "rustls-pemfile"]
7171

0 commit comments

Comments
 (0)