Skip to content

Commit 8286760

Browse files
committed
ci: fix wasm build
1 parent 5ef9570 commit 8286760

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Cargo.lock

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+8
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ serde_crate = { workspace = true, optional = true }
8080
serde_yaml = { workspace = true, optional = true }
8181
log = { workspace = true, optional = true }
8282

83+
[target.'cfg(target_arch = "wasm32")'.dependencies]
84+
wasm-bindgen = "0.2"
85+
rand = { version = "0.8.4", optional = true }
86+
getrandom = { version = "0.2", features = ["js"] }
87+
88+
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
89+
wasm-bindgen-test = "0.3"
90+
8391
[features]
8492
default = ["esplora_blocking", "mempool_blocking"]
8593
all = ["esplora_blocking", "electrum_blocking", "mempool_blocking", "serde", "log", "fs", "cli"]

0 commit comments

Comments
 (0)