Skip to content

Commit 9df88f7

Browse files
committed
ci: change MSRV for bdk_esplora to 1.75 and pin broken deps
1 parent 7f95f57 commit 9df88f7

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/cont_integration.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- version: ${{ needs.prepare.outputs.rust_version }}
2828
clippy: true
2929
- version: 1.63.0 # Overall MSRV
30-
- version: 1.75.0 # Specific MSRV for `bdk_electrum`
30+
- version: 1.75.0 # Specific MSRV for `bdk_electrum` and `bdk_esplora`
3131
features:
3232
- --no-default-features --features miniscript/no-std
3333
- --all-features
@@ -44,11 +44,14 @@ jobs:
4444
profile: minimal
4545
- name: Rust Cache
4646
uses: Swatinem/rust-cache@v2.7.7
47+
# TODO consider removing any MSRV for electrum and esplora until we have dependencies that support an MSRV
4748
- name: Pin dependencies for 1.75
4849
if: matrix.rust.version == '1.75.0'
4950
run: |
5051
cargo update -p home --precise "0.5.9"
5152
cargo update -p native-tls --precise "0.2.13"
53+
cargo update -p zerofrom --precise "0.1.5"
54+
cargo update -p litemap --precise "0.7.4"
5255
- name: Pin dependencies for MSRV
5356
if: matrix.rust.version == '1.63.0'
5457
run: ./ci/pin-msrv.sh
@@ -57,8 +60,8 @@ jobs:
5760
MATRIX_RUST_VERSION: ${{ matrix.rust.version }}
5861
run: |
5962
if [ $MATRIX_RUST_VERSION = '1.63.0' ]; then
60-
cargo build --workspace --exclude 'example_*' --exclude 'bdk_electrum' ${{ matrix.features }}
61-
cargo test --workspace --exclude 'example_*' --exclude 'bdk_electrum' ${{ matrix.features }}
63+
cargo build --workspace --exclude 'example_*' --exclude 'bdk_electrum' --exclude 'bdk_esplora' ${{ matrix.features }}
64+
cargo test --workspace --exclude 'example_*' --exclude 'bdk_electrum' --exclude 'bdk_esplora' ${{ matrix.features }}
6265
else
6366
cargo build --workspace --exclude 'example_*' ${{ matrix.features }}
6467
cargo test --workspace --exclude 'example_*' ${{ matrix.features }}

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,12 @@ The BDK library maintains a MSRV of 1.63.0. This includes the following crates:
6868
- `bdk_core`
6969
- `bdk_chain`
7070
- `bdk_bitcoind_rpc`.
71-
- `bdk_esplora`.
7271
- `bdk_wallet`.
7372

74-
The MSRV of `bdk_electrum` is 1.75.0.
73+
The MSRV is 1.75.0 for the following crates:
74+
75+
- `bdk_electrum`.
76+
- `bdk_esplora`.
7577

7678
To build with the MSRV of 1.63.0 you will need to pin dependencies by running the [`pin-msrv.sh`](./ci/pin-msrv.sh) script.
7779

0 commit comments

Comments
 (0)