Skip to content

Commit 2195752

Browse files
committed
fix: server should enable tokio/net
1 parent 99d6dc8 commit 2195752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ tokio-stream = { version = "0.1.1", features = ["net"] }
6363
default = []
6464
multipart = ["dep:multer"]
6565
websocket = ["hyper/client", "hyper/http1", "dep:tokio-tungstenite", "hyper-util/tokio"]
66-
server = ["hyper/server", "hyper/http1", "hyper/http2", "dep:hyper-util"]
66+
server = ["hyper/server", "hyper/http1", "hyper/http2", "dep:hyper-util", "tokio/net"]
6767
test = ["server"]
6868
# tls might come back, uncertain
6969
#tls = ["tokio-rustls", "rustls-pemfile"]

0 commit comments

Comments
 (0)