From 2de1d1c2c738c6f117660b0a1b287ef45c389670 Mon Sep 17 00:00:00 2001 From: Marc-Andre Giroux Date: Thu, 12 Oct 2023 18:09:52 -0400 Subject: [PATCH] chore: support tokio 1.33 without stats feature (#55) --- 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"]