From 5355cebe5621fc7ce88b40ea13177a08ea59a772 Mon Sep 17 00:00:00 2001
From: link2xt <link2xt@testrun.org>
Date: Tue, 3 Dec 2024 05:38:53 +0000
Subject: [PATCH] build: disable unnecessary features of `tokio`

---
 Cargo.toml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index b9126e6..41e7082 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -25,14 +25,14 @@ futures = "0.3.21"
 log = "^0.4"
 nom = "^7.0"
 thiserror = "1"
-tokio = { version = "1", features = ["time", "io-util"], optional = true }
+tokio = { version = "1", default-features = false, features = ["time", "io-util"], optional = true }
 
 [dev-dependencies]
 env_logger = "^0.9"
 glob = "^0.3"
 criterion = "^0.3"
 async-std = { version = "1.11", features = ["unstable", "attributes"] }
-tokio = { version = "1", features = ["rt", "rt-multi-thread", "net", "time", "macros"] }
+tokio = { version = "1", default-features = false, features = ["rt", "time", "macros"] }
 
 [[example]]
 name = "send"