From 853dda414103442cc730601b242f1355e94f30eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=97=E5=AE=87?= Date: Fri, 28 Feb 2025 11:38:36 +1100 Subject: [PATCH 1/3] ci: no-std requires hashbrown --- .github/workflows/cont_integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cont_integration.yml b/.github/workflows/cont_integration.yml index 84a2f60fe..0267c80ba 100644 --- a/.github/workflows/cont_integration.yml +++ b/.github/workflows/cont_integration.yml @@ -29,7 +29,7 @@ jobs: - version: 1.63.0 # Overall MSRV - version: 1.75.0 # Specific MSRV for `bdk_electrum` features: - - --no-default-features --features miniscript/no-std + - --no-default-features --features miniscript/no-std,bdk_chain/hashbrown - --all-features steps: - name: checkout From 7ce016d80517de873090eafd0d7eeb9e650b2ca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=97=E5=AE=87?= Date: Fri, 28 Feb 2025 11:49:29 +1100 Subject: [PATCH 2/3] chore(examples): pin chain-src crates for wallet examples --- example-crates/example_wallet_electrum/Cargo.toml | 2 +- example-crates/example_wallet_esplora_async/Cargo.toml | 2 +- example-crates/example_wallet_esplora_blocking/Cargo.toml | 2 +- example-crates/example_wallet_rpc/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/example-crates/example_wallet_electrum/Cargo.toml b/example-crates/example_wallet_electrum/Cargo.toml index 07ba60d50..946cd05ac 100644 --- a/example-crates/example_wallet_electrum/Cargo.toml +++ b/example-crates/example_wallet_electrum/Cargo.toml @@ -5,5 +5,5 @@ edition = "2021" [dependencies] bdk_wallet = { path = "../../crates/wallet", features = ["file_store"] } -bdk_electrum = { path = "../../crates/electrum" } +bdk_electrum = { version = "0.21" } anyhow = "1" diff --git a/example-crates/example_wallet_esplora_async/Cargo.toml b/example-crates/example_wallet_esplora_async/Cargo.toml index 38458b782..21b27beb6 100644 --- a/example-crates/example_wallet_esplora_async/Cargo.toml +++ b/example-crates/example_wallet_esplora_async/Cargo.toml @@ -7,6 +7,6 @@ edition = "2021" [dependencies] bdk_wallet = { path = "../../crates/wallet", features = ["rusqlite"] } -bdk_esplora = { path = "../../crates/esplora", features = ["async-https", "tokio"] } +bdk_esplora = { version = "0.20", features = ["async-https", "tokio"] } tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros"] } anyhow = "1" diff --git a/example-crates/example_wallet_esplora_blocking/Cargo.toml b/example-crates/example_wallet_esplora_blocking/Cargo.toml index f47d040db..ec8cb542d 100644 --- a/example-crates/example_wallet_esplora_blocking/Cargo.toml +++ b/example-crates/example_wallet_esplora_blocking/Cargo.toml @@ -8,5 +8,5 @@ publish = false [dependencies] bdk_wallet = { path = "../../crates/wallet", features = ["file_store"] } -bdk_esplora = { path = "../../crates/esplora", features = ["blocking"] } +bdk_esplora = { version = "0.20", features = ["blocking"] } anyhow = "1" diff --git a/example-crates/example_wallet_rpc/Cargo.toml b/example-crates/example_wallet_rpc/Cargo.toml index 15321a82e..b20447e7b 100644 --- a/example-crates/example_wallet_rpc/Cargo.toml +++ b/example-crates/example_wallet_rpc/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] bdk_wallet = { path = "../../crates/wallet", features = ["file_store"] } -bdk_bitcoind_rpc = { path = "../../crates/bitcoind_rpc" } +bdk_bitcoind_rpc = { version = "0.18" } anyhow = "1" clap = { version = "4.5.17", features = ["derive", "env"] } From 0c23410bd863d42e02d6183882d9e2e512ed2a40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=97=E5=AE=87?= Date: Fri, 28 Feb 2025 10:47:20 +1100 Subject: [PATCH 3/3] chore(wallet): Pin `bdk_chain` version to latest release Remove the use of Cargo `path` ref for the `bdk_chain` and `bdk_file_store` dependencies. This is the first step to move `bdk_wallet` into a new workspace. --- crates/wallet/Cargo.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/wallet/Cargo.toml b/crates/wallet/Cargo.toml index 9e0e3cb0f..cc24f2c9f 100644 --- a/crates/wallet/Cargo.toml +++ b/crates/wallet/Cargo.toml @@ -21,8 +21,8 @@ miniscript = { version = "12.0.0", features = [ "serde" ], default-features = fa bitcoin = { version = "0.32.4", features = [ "serde", "base64" ], default-features = false } serde = { version = "^1.0", features = ["derive"] } serde_json = { version = "^1.0" } -bdk_chain = { path = "../chain", version = "0.21.1", features = [ "miniscript", "serde" ], default-features = false } -bdk_file_store = { path = "../file_store", version = "0.18.1", optional = true } +bdk_chain = { version = "0.21.1", features = [ "miniscript", "serde" ], default-features = false } +bdk_file_store = { version = "0.18.1", optional = true } # Optional dependencies bip39 = { version = "2.0", optional = true } @@ -41,9 +41,9 @@ test-utils = ["std"] lazy_static = "1.4" assert_matches = "1.5.0" tempfile = "3" -bdk_chain = { path = "../chain", features = ["rusqlite"] } +bdk_chain = { version = "0.21.1", features = ["rusqlite"] } bdk_wallet = { path = ".", features = ["rusqlite", "file_store", "test-utils"] } -bdk_file_store = { path = "../file_store" } +bdk_file_store = { version = "0.18.1" } anyhow = "1" rand = "^0.8"