ci(esplora): fix wasm cargo check by setting workspace resolver to version 2

The resolver version must be set at the workspace level.
See: https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html#cargos-new-feature-resolver
This commit is contained in:
Steve Myers 2023-09-14 14:39:20 -05:00
parent 31d52e12c9
commit d35668e76a
No known key found for this signature in database
GPG Key ID: 8105A46B22C2D051
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
[workspace]
resolver = "2"
members = [
"crates/bdk",
"crates/chain",

View File

@ -21,7 +21,7 @@ futures = { version = "0.3.26", optional = true }
bitcoin = { version = "0.30.0", optional = true, default-features = false }
miniscript = { version = "10.0.0", optional = true, default-features = false }
[dev-dependencies]
[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"] }