Skip to content

Commit

Permalink
Merge pull request #4736 from doitian/bugfix/add-missing-crate-features
Browse files Browse the repository at this point in the history
bugfix: add missing crate features
  • Loading branch information
doitian authored Dec 4, 2024
2 parents 628634c + 40b3840 commit ac3aa44
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion notify/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ 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-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" }

[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]
5 changes: 4 additions & 1 deletion spec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ ckb-traits = { path = "../traits", version = "= 0.120.0-pre" }
ckb-logger = { path = "../util/logger", version = "= 0.120.0-pre" }

[target.'cfg(not(target_family = "wasm"))'.dependencies]
cacache = { version = "13.0.0", default-features = false, features = ["mmap"] }
cacache = { version = "13.0.0", default-features = false, features = [
"tokio-runtime",
"mmap",
] }

[dev-dependencies]
tempfile.workspace = true
2 changes: 1 addition & 1 deletion util/metrics-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ hyper = { version = "1", features = ["http1", "http2", "server"] }
http-body-util = "0.1"
hyper-util = { version = "0.1", features = ["server-auto", "server-graceful"] }
ckb-stop-handler = { path = "../stop-handler", version = "= 0.120.0-pre" }
tokio = { version = "1", features = ["sync"] }
tokio = { version = "1", features = ["sync", "macros"] }

0 comments on commit ac3aa44

Please sign in to comment.