diff --git a/crates/electrum/Cargo.toml b/crates/electrum/Cargo.toml index 60f0f23cd..76c25f784 100644 --- a/crates/electrum/Cargo.toml +++ b/crates/electrum/Cargo.toml @@ -16,7 +16,8 @@ bdk_chain = { path = "../chain", version = "0.11.0", default-features = false } electrum-client = { version = "0.18" } #rustls = { version = "=0.21.1", optional = true, features = ["dangerous_configuration"] } -[dev-dependencies] +[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] bdk_testenv = { path = "../testenv", default-features = false } -electrsd = { version= "0.25.0", features = ["bitcoind_25_0", "esplora_a33e97e1", "legacy"] } -anyhow = "1" \ No newline at end of file +electrsd = { version = "0.26.0", features = ["legacy"] } +anyhow = "1" + diff --git a/crates/testenv/Cargo.toml b/crates/testenv/Cargo.toml index 486587cb1..e3271f95d 100644 --- a/crates/testenv/Cargo.toml +++ b/crates/testenv/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[dependencies] +[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] bitcoincore-rpc = { version = "0.17" } bdk_chain = { path = "../chain", version = "0.11", default-features = false } electrsd = { version = "0.26.0", features = ["legacy"] } @@ -15,4 +15,3 @@ anyhow = { version = "1" } default = ["std"] std = ["bdk_chain/std"] serde = ["bdk_chain/serde"] -