From 36393676e70e362c7f2f2d317aede87d200ae9e8 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Mon, 1 Aug 2022 19:57:17 +0300 Subject: [PATCH] limit the number of features for tokio (#53) --- Cargo.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d8d67aa..ebffffd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,7 +53,7 @@ optional = true [dependencies.tokio] version = "1.20" -features = ["full"] +features = ["rt", "time"] optional = true [dependencies.async-trait] @@ -64,7 +64,9 @@ optional = true version = "0.10" optional = true - [dependencies.async-recursion] version = "1" -optional = true \ No newline at end of file +optional = true + +[dev-dependencies] +tokio = { version = "1.20", features = ["macros"] } \ No newline at end of file