Enable feature "macros" of dep "tokio"

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-08-04 18:46:41 +10:00
parent ca3efdf2eb
commit 74051eb478
No known key found for this signature in database
GPG key ID: 591C0B03040416D6
2 changed files with 13 additions and 1 deletions

12
Cargo.lock generated
View file

@ -1683,9 +1683,21 @@ dependencies = [
"pin-project-lite", "pin-project-lite",
"signal-hook-registry", "signal-hook-registry",
"socket2", "socket2",
"tokio-macros",
"winapi", "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]] [[package]]
name = "tokio-native-tls" name = "tokio-native-tls"
version = "0.3.0" version = "0.3.0"

View file

@ -50,7 +50,7 @@ tar = "0.4.38"
tempfile = "3.3.0" tempfile = "3.3.0"
thiserror = "1.0.32" thiserror = "1.0.32"
tinytemplate = "1.2.1" tinytemplate = "1.2.1"
tokio = { version = "1.20.1", features = ["rt-multi-thread", "process", "sync", "signal"], default-features = false } tokio = { version = "1.20.1", features = ["macros", "rt-multi-thread", "process", "sync", "signal"], default-features = false }
toml_edit = { version = "0.14.4", features = ["easy"] } toml_edit = { version = "0.14.4", features = ["easy"] }
url = { version = "2.2.2", features = ["serde"] } url = { version = "2.2.2", features = ["serde"] }
xz2 = "0.1.7" xz2 = "0.1.7"