From 8c05ab2085f5dee8b8df94ec6f5e531c6c787426 Mon Sep 17 00:00:00 2001 From: ian Date: Mon, 18 Nov 2024 10:09:10 +0800 Subject: [PATCH] fix: add missing features for tokio - sync for `tokio::sync` - macros for `tokio::select` --- script/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/Cargo.toml b/script/Cargo.toml index d76f360864..dc416cf601 100644 --- a/script/Cargo.toml +++ b/script/Cargo.toml @@ -28,7 +28,7 @@ ckb-logger = { path = "../util/logger", version = "= 0.120.0-pre", optional = tr serde = { version = "1.0", features = ["derive"] } ckb-error = { path = "../error", version = "= 0.120.0-pre" } ckb-chain-spec = { path = "../spec", version = "= 0.120.0-pre" } -tokio = { version = "1.35.0", features = ["rt-multi-thread"] } +tokio = { version = "1.35.0", features = ["sync", "macros", "rt-multi-thread"] } [dev-dependencies] proptest = "1.0"