From 526386ada8a6b3ebee3222edb93ef401959e7f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Sat, 28 Jan 2023 14:10:11 -0800 Subject: [PATCH] fix(deps): only include rt-multi-threaded for tokio when running tests --- Cargo.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 17043d4..bce2fae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,14 +30,20 @@ tokio = { version = "1.12.0", features = [ "fs", "io-util", "macros", - "rt", - "rt-multi-thread", + "rt" ], optional = true } tokio-stream = { version = "0.1.7", features = ["io-util"], optional = true } walkdir = "2.3.2" [dev-dependencies] criterion = "0.4.0" +tokio = { version = "1.12.0", features = [ + "fs", + "io-util", + "macros", + "rt", + "rt-multi-thread", +]} [[bench]] name = "benchmarks"