From 2dde57f4028e61b84894a7bf41408b757f6a21d2 Mon Sep 17 00:00:00 2001 From: ian Date: Tue, 3 Dec 2024 16:05:56 +0800 Subject: [PATCH] chore: add missing tokio::process for notify --- notify/Cargo.toml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/notify/Cargo.toml b/notify/Cargo.toml index 49a3ff5d81..02fa591aa5 100644 --- a/notify/Cargo.toml +++ b/notify/Cargo.toml @@ -9,11 +9,21 @@ homepage = "https://github.com/nervosnetwork/ckb" repository = "https://github.com/nervosnetwork/ckb" [dependencies] -ckb-logger = { path = "../util/logger", version = "= 0.120.0-pre" } -ckb-app-config = { path = "../util/app-config", version = "= 0.120.0-pre" } -ckb-types = { path = "../util/types", version = "= 0.120.0-pre" } -ckb-stop-handler = { path = "../util/stop-handler", version = "= 0.120.0-pre" } -ckb-async-runtime = { path = "../util/runtime", version = "= 0.120.0-pre" } +# ckb-logger = { path = "../util/logger", version = "= 0.120.0-pre" } +# ckb-app-config = { path = "../util/app-config", version = "= 0.120.0-pre" } +# ckb-types = { path = "../util/types", version = "= 0.120.0-pre" } +# ckb-stop-handler = { path = "../util/stop-handler", version = "= 0.120.0-pre" } +# ckb-async-runtime = { path = "../util/runtime", version = "= 0.120.0-pre" } +ckb-logger = { version = "= 0.120.0-rc3" } +ckb-app-config = { version = "= 0.120.0-rc3" } +ckb-types = { version = "= 0.120.0-rc3" } +ckb-stop-handler = { version = "= 0.120.0-rc3" } +ckb-async-runtime = { version = "= 0.120.0-rc3" } + +[target.'cfg(target_family = "wasm")'.dependencies] tokio = { version = "1", features = ["sync"] } +[target.'cfg(not(target_family = "wasm"))'.dependencies] +tokio = { version = "1", features = ["sync", "process"] } + [dev-dependencies]