Skip to content

Commit 87cc25f

Browse files
committed
Bump corepc-node/corepc-client to the latest v0.6
Version `0.6` was just released, here we bump the version to allow downstream users to make use of the newly introduced features. As the `corepc-node` crate now requires to set a specific version, we introduce a `default` feature to set the most-recent `28_0` release as default.
1 parent 68d1e9e commit 87cc25f

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

.github/workflows/cont_integration.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- uses: actions/checkout@v3
4040
- uses: Swatinem/rust-cache@v2
4141
- uses: dtolnay/rust-toolchain@stable
42-
- run: cargo test --features ${{ matrix.features }}
42+
- run: cargo test --no-default-features --features ${{ matrix.features }}
4343

4444

4545
test-electrs-esplora:
@@ -55,7 +55,7 @@ jobs:
5555
- uses: actions/checkout@v3
5656
- uses: Swatinem/rust-cache@v2
5757
- uses: dtolnay/rust-toolchain@stable
58-
- run: cargo test --features ${{ matrix.features }}
58+
- run: cargo test --no-default-features --features ${{ matrix.features }}
5959

6060
test-electrs-no-download:
6161
name: Test Electrs no auto-download features
@@ -74,7 +74,7 @@ jobs:
7474
- name: Checkout Crate
7575
uses: actions/checkout@v3
7676
- uses: Swatinem/rust-cache@v2
77-
- run: cargo test --features 'corepc-node_25_2'
77+
- run: cargo test --no-default-features --features 'corepc-node_25_2'
7878

7979
cosmetics:
8080
runs-on: ubuntu-24.04

Cargo.toml

+15-14
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ edition = "2018"
1010
categories = ["cryptography::cryptocurrencies", "development-tools::testing"]
1111

1212
[dependencies]
13-
corepc-node = { version = "0.5.0", default-features = false }
14-
corepc-client = { version = "0.5.0" }
13+
corepc-node = { version = "0.6.0", default-features = false }
14+
corepc-client = { version = "0.6.0" }
1515
electrum-client = { version = "0.22.0", default-features = false }
1616
log = { version = "0.4" }
1717
which = { version = "4.2.5" }
@@ -33,6 +33,7 @@ minreq = { version = "2.9.0", default-features = false, optional = true, feature
3333
] }
3434

3535
[features]
36+
default = ["corepc-node/28_0"]
3637
legacy = []
3738

3839
# download is not supposed to be used directly only through selecting one of the version feature
@@ -44,15 +45,15 @@ electrs_0_9_1 = ["download"]
4445
electrs_0_9_11 = ["download"]
4546
electrs_0_10_6 = ["download"]
4647

47-
corepc-node_28_0 = ["download", "corepc-node/28_0"]
48-
corepc-node_27_2 = ["download", "corepc-node/27_2"]
49-
corepc-node_26_2 = ["download", "corepc-node/26_2"]
50-
corepc-node_25_2 = ["download", "corepc-node/25_2"]
51-
corepc-node_24_2 = ["download", "corepc-node/24_2"]
52-
corepc-node_23_1 = ["download", "corepc-node/23_2"]
53-
corepc-node_22_1 = ["download", "corepc-node/22_1"]
54-
corepc-node_0_21_2 = ["download", "corepc-node/0_21_2"]
55-
corepc-node_0_20_2 = ["download", "corepc-node/0_20_2"]
56-
corepc-node_0_19_1 = ["download", "corepc-node/0_19_1"]
57-
corepc-node_0_18_1 = ["download", "corepc-node/0_18_1"]
58-
corepc-node_0_17_1 = ["download", "corepc-node/0_17_1"]
48+
corepc-node_28_0 = ["corepc-node/download", "corepc-node/28_0"]
49+
corepc-node_27_2 = ["corepc-node/download", "corepc-node/27_2"]
50+
corepc-node_26_2 = ["corepc-node/download", "corepc-node/26_2"]
51+
corepc-node_25_2 = ["corepc-node/download", "corepc-node/25_2"]
52+
corepc-node_24_2 = ["corepc-node/download", "corepc-node/24_2"]
53+
corepc-node_23_1 = ["corepc-node/download", "corepc-node/23_2"]
54+
corepc-node_22_1 = ["corepc-node/download", "corepc-node/22_1"]
55+
corepc-node_0_21_2 = ["corepc-node/download", "corepc-node/0_21_2"]
56+
corepc-node_0_20_2 = ["corepc-node/download", "corepc-node/0_20_2"]
57+
corepc-node_0_19_1 = ["corepc-node/download", "corepc-node/0_19_1"]
58+
corepc-node_0_18_1 = ["corepc-node/download", "corepc-node/0_18_1"]
59+
corepc-node_0_17_1 = ["corepc-node/download", "corepc-node/0_17_1"]

0 commit comments

Comments
 (0)