Skip to content

Commit 3a66168

Browse files
committed
Strengthen tokio version requirements
This is needed for minimal versions to pass because tokio has made some non-backwards-compatible API changes to `SocketAddr`.
1 parent ab2381a commit 3a66168

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
@@ -25,7 +25,7 @@ fs-err = { version = "3", features = ["tokio"] }
2525
http = "1.1"
2626
http-body = "1.0"
2727
hyper = { version = "1.4", features = ["http1", "http2", "server"] }
28-
tokio = { version = "1", features = ["macros", "net", "sync"] }
28+
tokio = { version = ">=1.41", features = ["macros", "net", "sync"] }
2929
tower-service = "0.3"
3030
hyper-util = { version = "0.1.18", features = ["server-auto", "service", "tokio"] }
3131

@@ -51,7 +51,7 @@ futures-util = { version = "0.3", default-features = false }
5151
http-body-util = "0.1"
5252
axum = "0.7"
5353
hyper = { version = "1.4", features = ["full"] }
54-
tokio = { version = "1", features = ["full"] }
54+
tokio = { version = ">=1.41", features = ["full"] }
5555
tower = { version = "0.5", features = ["util"] }
5656
tower-http = { version = "0.6", features = ["add-extension"] }
5757

0 commit comments

Comments
 (0)