From 986096bb2404f66f41e513b702aa83c5bbd4bd23 Mon Sep 17 00:00:00 2001 From: mgiroux Date: Thu, 12 Oct 2023 09:19:19 -0400 Subject: [PATCH] support tokio 1.33 without stats feature --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8185b70..33f8d2e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" @@ -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"] \ No newline at end of file +rustc-args = ["--cfg", "tokio_unstable"]