Skip to content

Commit 292737a

Browse files
committed
chore: rename package to bdk_bitcoind_client
Also: - Cache build artifacts on CI - Remove unused `jsonrpc` features - Move `corepc-node`-related pins under `dev-dependencies` - Remove `+nightly` from `lock` recipe
1 parent 80aa109 commit 292737a

5 files changed

Lines changed: 17 additions & 58 deletions

File tree

.github/workflows/cont_integration.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
- name: Install just
2020
uses: extractions/setup-just@f8a3cce218d9f83db3a2ecd90e41ac3de6cdfd9b # v3
2121

22+
- name: Setup build cache
23+
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
24+
2225
- name: Setup cargo-rbmt
2326
uses: rust-bitcoin/rust-bitcoin-maintainer-tools/.github/actions/setup-rbmt@6560b728ae6a81af9d92713b630ba26772fbd970
2427

@@ -44,6 +47,9 @@ jobs:
4447
with:
4548
persist-credentials: false
4649

50+
- name: Setup build cache
51+
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
52+
4753
- name: Setup cargo-rbmt
4854
uses: rust-bitcoin/rust-bitcoin-maintainer-tools/.github/actions/setup-rbmt@6560b728ae6a81af9d92713b630ba26772fbd970
4955

Cargo-minimal.lock

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
4949
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
5050

5151
[[package]]
52-
name = "bdk-bitcoind-client"
52+
name = "bdk_bitcoind_client"
5353
version = "0.1.0"
5454
dependencies = [
5555
"anyhow",
@@ -409,7 +409,6 @@ dependencies = [
409409
"bitreq",
410410
"serde",
411411
"serde_json",
412-
"socks",
413412
]
414413

415414
[[package]]
@@ -645,17 +644,6 @@ dependencies = [
645644
"serde",
646645
]
647646

648-
[[package]]
649-
name = "socks"
650-
version = "0.3.4"
651-
source = "registry+https://github.com/rust-lang/crates.io-index"
652-
checksum = "f0c3dbbd9ae980613c6dd8e28a9407b50509d3803b57624d5dfe8315218cd58b"
653-
dependencies = [
654-
"byteorder",
655-
"libc",
656-
"winapi",
657-
]
658-
659647
[[package]]
660648
name = "spin"
661649
version = "0.5.2"
@@ -807,9 +795,9 @@ dependencies = [
807795

808796
[[package]]
809797
name = "winapi"
810-
version = "0.3.9"
798+
version = "0.3.8"
811799
source = "registry+https://github.com/rust-lang/crates.io-index"
812-
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
800+
checksum = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6"
813801
dependencies = [
814802
"winapi-i686-pc-windows-gnu",
815803
"winapi-x86_64-pc-windows-gnu",

Cargo-recent.lock

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
4949
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
5050

5151
[[package]]
52-
name = "bdk-bitcoind-client"
52+
name = "bdk_bitcoind_client"
5353
version = "0.1.0"
5454
dependencies = [
5555
"anyhow",
@@ -348,7 +348,6 @@ dependencies = [
348348
"bitreq",
349349
"serde",
350350
"serde_json",
351-
"socks",
352351
]
353352

354353
[[package]]
@@ -589,17 +588,6 @@ version = "0.3.9"
589588
source = "registry+https://github.com/rust-lang/crates.io-index"
590589
checksum = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214"
591590

592-
[[package]]
593-
name = "socks"
594-
version = "0.3.4"
595-
source = "registry+https://github.com/rust-lang/crates.io-index"
596-
checksum = "f0c3dbbd9ae980613c6dd8e28a9407b50509d3803b57624d5dfe8315218cd58b"
597-
dependencies = [
598-
"byteorder",
599-
"libc",
600-
"winapi",
601-
]
602-
603591
[[package]]
604592
name = "syn"
605593
version = "2.0.117"
@@ -667,28 +655,6 @@ dependencies = [
667655
"libc",
668656
]
669657

670-
[[package]]
671-
name = "winapi"
672-
version = "0.3.9"
673-
source = "registry+https://github.com/rust-lang/crates.io-index"
674-
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
675-
dependencies = [
676-
"winapi-i686-pc-windows-gnu",
677-
"winapi-x86_64-pc-windows-gnu",
678-
]
679-
680-
[[package]]
681-
name = "winapi-i686-pc-windows-gnu"
682-
version = "0.4.0"
683-
source = "registry+https://github.com/rust-lang/crates.io-index"
684-
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
685-
686-
[[package]]
687-
name = "winapi-x86_64-pc-windows-gnu"
688-
version = "0.4.0"
689-
source = "registry+https://github.com/rust-lang/crates.io-index"
690-
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
691-
692658
[[package]]
693659
name = "windows-link"
694660
version = "0.2.1"

Cargo.toml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
version = "0.1.0"
3-
name = "bdk-bitcoind-client"
3+
name = "bdk_bitcoind_client"
44
description = "A minimal `bitcoind` RPC client custom built for BDK"
55
authors = ["Bitcoin Dev Kit Developers"]
66
repository = "https://github.com/bitcoindevkit/bdk-bitcoind-client"
@@ -19,18 +19,18 @@ default = ["30_0"]
1919

2020
[dependencies]
2121
corepc-types = { version = "0.11.0", features = ["default"]}
22-
jsonrpc = { version = "0.19.0", features = ["simple_http", "simple_tcp", "bitreq_http", "simple_uds", "proxy"] }
22+
jsonrpc = { version = "0.19.0", features = ["bitreq_http"] }
23+
24+
[dev-dependencies]
25+
anyhow = { version = "1.0.66" }
26+
corepc-node = { version = "0.10.1", features = ["download", "29_0"] }
2327

2428
# These pins are needed for `Cargo-minimal.lock`:
2529
hex-conservative = { version = "0.2.1" } # blame: corepc-node
2630
tar = { version = "0.4.43" } # blame: corepc-node
2731
filetime = { version = "0.2.8" } # blame: corepc-node
2832
log = { version = "0.4.14" } # blame: corepc-node
2933

30-
[dev-dependencies]
31-
anyhow = { version = "1.0.66" }
32-
corepc-node = { version = "0.10.1", features = ["download", "29_0"] }
33-
3434
[package.metadata.rbmt.toolchains]
3535
stable = "1.94.1"
3636
nightly = "nightly-2026-03-18"
@@ -42,5 +42,4 @@ exclude_features = ["default"]
4242
[package.metadata.rbmt.lint]
4343
allowed_duplicates = [
4444
"base64",
45-
"corepc"
4645
]

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ fmt:
5959

6060
[doc: "Regenerate `Cargo-recent.lock` and `Cargo-minimal.lock`"]
6161
lock:
62-
cargo +nightly rbmt lock
62+
cargo rbmt lock
6363

6464
[doc: "Verify the library builds with the MSRV toolchain (1.85.0)"]
6565
msrv:

0 commit comments

Comments
 (0)