diff --git a/Cargo.lock b/Cargo.lock index 76598211da..81294b3686 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -468,6 +468,7 @@ checksum = "a61ff12b19d89c752c213316b87fdb4a587f073d219b893cc56974b8c9f39bf7" dependencies = [ "digest", "either", + "futures", "hex", "libc", "memmap2", @@ -481,6 +482,8 @@ dependencies = [ "ssri", "tempfile", "thiserror", + "tokio", + "tokio-stream", "walkdir", ] diff --git a/spec/Cargo.toml b/spec/Cargo.toml index f7694c62a5..9ad6c386de 100644 --- a/spec/Cargo.toml +++ b/spec/Cargo.toml @@ -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