Skip to content

Commit f7fe331

Browse files
committed
chore: add missing tokio::process for notify
1 parent ec48190 commit f7fe331

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

notify/Cargo.toml

+6-1
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,15 @@ repository = "https://github.com/nervosnetwork/ckb"
1010

1111
[dependencies]
1212
ckb-logger = { path = "../util/logger", version = "= 0.120.0-pre" }
13-
ckb-app-config = { path = "../util/app-config", version = "= 0.120.0-pre" }
13+
ckb-app-config = { path = "../util/app-config", version = "= 0.120.0-pre" }
1414
ckb-types = { path = "../util/types", version = "= 0.120.0-pre" }
1515
ckb-stop-handler = { path = "../util/stop-handler", version = "= 0.120.0-pre" }
1616
ckb-async-runtime = { path = "../util/runtime", version = "= 0.120.0-pre" }
17+
18+
[target.'cfg(target_family = "wasm")'.dependencies]
1719
tokio = { version = "1", features = ["sync"] }
1820

21+
[target.'cfg(not(target_family = "wasm"))'.dependencies]
22+
tokio = { version = "1", features = ["sync", "process"] }
23+
1924
[dev-dependencies]

0 commit comments

Comments
 (0)