Skip to content

Commit

Permalink
support tokio 1.33 without stats feature
Browse files Browse the repository at this point in the history
  • Loading branch information
xuorig committed Oct 12, 2023
1 parent 51b07f6 commit 986096b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rt = ["tokio"]
tokio-stream = "0.1.11"
futures-util = "0.3.19"
pin-project-lite = "0.2.7"
tokio = { version = "1.31.0", features = ["rt", "stats", "time", "net"], optional = true }
tokio = { version = "1.31.0", features = ["rt", "time", "net"], optional = true }

[dev-dependencies]
axum = "0.6"
Expand All @@ -47,4 +47,4 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs", "--cfg", "tokio_unstable"]
# it's necessary to _also_ pass `--cfg tokio_unstable` to rustc, or else
# dependencies will not be enabled, and the docs build will fail.
rustc-args = ["--cfg", "tokio_unstable"]
rustc-args = ["--cfg", "tokio_unstable"]

0 comments on commit 986096b

Please sign in to comment.