From 6aced2ca9bee82361d822de8d7381f69211a628f Mon Sep 17 00:00:00 2001
From: Jiahao XU <Jiahao_XU@outlook.com>
Date: Wed, 8 Jun 2022 21:38:44 +1000
Subject: [PATCH] Disable feature "macros" of dep tokio

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---
 Cargo.lock | 12 ------------
 Cargo.toml |  2 +-
 2 files changed, 1 insertion(+), 13 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index e6e26b1a..21877876 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1512,21 +1512,9 @@ dependencies = [
  "pin-project-lite",
  "signal-hook-registry",
  "socket2",
- "tokio-macros",
  "winapi",
 ]
 
-[[package]]
-name = "tokio-macros"
-version = "1.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9724f9a975fb987ef7a3cd9be0350edcbe130698af5b8f7a631e23d42d052484"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
 [[package]]
 name = "tokio-rustls"
 version = "0.23.4"
diff --git a/Cargo.toml b/Cargo.toml
index bd76fd13..7cdbcc48 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -41,7 +41,7 @@ tar = "0.4.38"
 tempfile = "3.3.0"
 thiserror = "1.0.31"
 tinytemplate = "1.2.1"
-tokio = { version = "1.19.1", features = [ "rt-multi-thread", "process", "sync", "macros" ], default-features = false }
+tokio = { version = "1.19.1", features = [ "rt-multi-thread", "process", "sync" ], default-features = false }
 url = "2.2.2"
 xz2 = "0.1.6"