Skip to content

Commit 64c77ee

Browse files
committed
Merge #128: ci: add test with MSRV 1.63.0
4b42108 ci: add test with MSRV 1.63.0 (Steve Myers) Pull request description: Since the main BDK crates are changing to MSRV 1.63.0 as is LDK the CI for this project should also have an MSRV and test against it in CI. Also rustc 1.63 is the version shipped with the current debian stable (bookworm): https://packages.debian.org/stable/rust/rustc ACKs for top commit: oleonardolima: utACK 4b42108 storopoli: ACK 4b42108 ValuedMammal: ACK 4b42108 looks good to me Tree-SHA512: baff75887008a586af0ef0c4f50dd8c7c3de782f2dc6bc7d94c072c95205d4ef1a339860b3674dd781ad5558b98b071ed49b3a48507219b747e14c394dfe0a7b
2 parents 1899234 + 4b42108 commit 64c77ee

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.github/workflows/cont_integration.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@ on: [push, pull_request]
33
name: CI
44

55
jobs:
6-
76
test-fmt:
87
name: Test
98
runs-on: ubuntu-20.04
109
env:
1110
TEST_ELECTRUM_SERVER: electrum.blockstream.info:50001
1211
#TEST_ELECTRUM_SERVER: bitcoin.aranguren.org:50001
12+
strategy:
13+
matrix:
14+
rust:
15+
- stable # STABLE
16+
- 1.63.0 # MSRV
1317
steps:
1418
- name: Checkout
1519
uses: actions/checkout@v2
@@ -24,7 +28,7 @@ jobs:
2428
- name: Install rustup
2529
run: curl https://sh.rustup.rs -sSf | sh -s -- -y
2630
- name: Set default toolchain
27-
run: $HOME/.cargo/bin/rustup default stable
31+
run: $HOME/.cargo/bin/rustup default ${{ matrix.rust }}
2832
- name: Set profile
2933
run: $HOME/.cargo/bin/rustup set profile minimal
3034
- name: Fmt

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ documentation = "https://docs.rs/electrum-client/"
99
description = "Bitcoin Electrum client library. Supports plaintext, TLS and Onion servers."
1010
keywords = ["bitcoin", "electrum"]
1111
readme = "README.md"
12+
rust-version = "1.63.0"
1213

1314
# loosely based on https://github.com/evgeniy-scherbina/rust-electrumx-client
1415

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
# rust-electrum-client [![Build Status]][GitHub Workflow] [![Latest Version]][crates.io]
1+
# rust-electrum-client
2+
[![Build Status]][GitHub Workflow] [![Latest Version]][crates.io] [![MSRV Badge]][Rust Blog]
23

34
[Build Status]: https://github.com/bitcoindevkit/rust-electrum-client/actions/workflows/cont_integration.yml/badge.svg
45
[GitHub Workflow]: https://github.com/bitcoindevkit/rust-electrum-client/actions?query=workflow%3ACI
56
[Latest Version]: https://img.shields.io/crates/v/electrum-client.svg
67
[crates.io]: https://crates.io/crates/electrum-client
8+
[MSRV Badge]: https://img.shields.io/badge/rustc-1.63.0%2B-lightgrey.svg
9+
[Rust Blog]: https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html
710

811
Bitcoin Electrum client library. Supports plaintext, TLS and Onion servers.

0 commit comments

Comments
 (0)