]> Untitled Git - bdk/commitdiff
chore(esplora): rm custom WASM target spec test dependency
author志宇 <hello@evanlinjin.me>
Sat, 23 Mar 2024 09:57:27 +0000 (17:57 +0800)
committer志宇 <hello@evanlinjin.me>
Sat, 23 Mar 2024 09:57:27 +0000 (17:57 +0800)
None of the `bdk_esplora` tests can run under WASM anyway since we
depend on `electrsd`.

crates/esplora/Cargo.toml

index 0a7c98c1f1316ede1f4a3ed33dd129525c97684b..628f1dadf63a1e10ad5be8f4af4690a412267524 100644 (file)
@@ -23,8 +23,6 @@ miniscript = { version = "10.0.0", optional = true, default-features = false }
 
 [dev-dependencies]
 bdk_testenv = { path = "../testenv", default_features = false }
-
-[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
 electrsd = { version= "0.25.0", features = ["bitcoind_25_0", "esplora_a33e97e1", "legacy"] }
 tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros"] }