From a9f0d92e5f7abc7ff8de52800b88db96645c3a79 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 10 May 2023 05:58:12 +0000 Subject: deps(tokio): restrict tokio features --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 14b93de..f67a099 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ tokio-openssl = { version = "0.6.3", optional = true } async-std-openssl = { version = "0.6.3", optional = true } # Non-blocking I/O -tokio = { version = "1.26.0", features = ["full"], optional = true } +tokio = { version = "1.26.0", default-features = false, features = ["rt-multi-thread", "sync", "net", "io-util", "macros"], optional = true } async-trait = "0.1.68" async-std = { version = "1.12.0", features = ["attributes"], optional = true } -- cgit v1.2.3