fix(deps): only include rt-multi-threaded for tokio when running tests

This commit is contained in:
Kat Marchán 2023-01-28 14:10:11 -08:00
parent 953262c1d9
commit 526386ada8
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
1 changed files with 8 additions and 2 deletions

View File

@ -30,14 +30,20 @@ tokio = { version = "1.12.0", features = [
"fs", "fs",
"io-util", "io-util",
"macros", "macros",
"rt", "rt"
"rt-multi-thread",
], optional = true } ], optional = true }
tokio-stream = { version = "0.1.7", features = ["io-util"], optional = true } tokio-stream = { version = "0.1.7", features = ["io-util"], optional = true }
walkdir = "2.3.2" walkdir = "2.3.2"
[dev-dependencies] [dev-dependencies]
criterion = "0.4.0" criterion = "0.4.0"
tokio = { version = "1.12.0", features = [
"fs",
"io-util",
"macros",
"rt",
"rt-multi-thread",
]}
[[bench]] [[bench]]
name = "benchmarks" name = "benchmarks"