Skip to content

Commit

Permalink
fix(testenv): js-sys (WASM) breaks MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
storopoli committed Mar 26, 2024
1 parent 488cdc3 commit 0368051
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 4 additions & 3 deletions crates/electrum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
electrsd = { version = "0.26.0", features = ["legacy"] }
anyhow = "1"

3 changes: 1 addition & 2 deletions crates/testenv/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand All @@ -15,4 +15,3 @@ anyhow = { version = "1" }
default = ["std"]
std = ["bdk_chain/std"]
serde = ["bdk_chain/serde"]

0 comments on commit 0368051

Please sign in to comment.