Merge bitcoindevkit/rust-electrum-client#128: ci: add test with MSRV 1.63.0
Some checks failed
CI / Test (1.63.0) (push) Has been cancelled
CI / Test (stable) (push) Has been cancelled

4b421084e9 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 4b421084e9
  storopoli:
    ACK 4b42108
  ValuedMammal:
    ACK 4b421084e9 looks good to me

Tree-SHA512: baff75887008a586af0ef0c4f50dd8c7c3de782f2dc6bc7d94c072c95205d4ef1a339860b3674dd781ad5558b98b071ed49b3a48507219b747e14c394dfe0a7b
This commit is contained in:
Steve Myers 2024-05-28 10:03:18 -05:00
commit 64c77ee1bc
No known key found for this signature in database
GPG Key ID: 8105A46B22C2D051
3 changed files with 11 additions and 3 deletions

View File

@ -3,13 +3,17 @@ on: [push, pull_request]
name: CI
jobs:
test-fmt:
name: Test
runs-on: ubuntu-20.04
env:
TEST_ELECTRUM_SERVER: electrum.blockstream.info:50001
#TEST_ELECTRUM_SERVER: bitcoin.aranguren.org:50001
strategy:
matrix:
rust:
- stable # STABLE
- 1.63.0 # MSRV
steps:
- name: Checkout
uses: actions/checkout@v2
@ -24,7 +28,7 @@ jobs:
- name: Install rustup
run: curl https://sh.rustup.rs -sSf | sh -s -- -y
- name: Set default toolchain
run: $HOME/.cargo/bin/rustup default stable
run: $HOME/.cargo/bin/rustup default ${{ matrix.rust }}
- name: Set profile
run: $HOME/.cargo/bin/rustup set profile minimal
- name: Fmt

View File

@ -9,6 +9,7 @@ documentation = "https://docs.rs/electrum-client/"
description = "Bitcoin Electrum client library. Supports plaintext, TLS and Onion servers."
keywords = ["bitcoin", "electrum"]
readme = "README.md"
rust-version = "1.63.0"
# loosely based on https://github.com/evgeniy-scherbina/rust-electrumx-client

View File

@ -1,8 +1,11 @@
# rust-electrum-client [![Build Status]][GitHub Workflow] [![Latest Version]][crates.io]
# rust-electrum-client
[![Build Status]][GitHub Workflow] [![Latest Version]][crates.io] [![MSRV Badge]][Rust Blog]
[Build Status]: https://github.com/bitcoindevkit/rust-electrum-client/actions/workflows/cont_integration.yml/badge.svg
[GitHub Workflow]: https://github.com/bitcoindevkit/rust-electrum-client/actions?query=workflow%3ACI
[Latest Version]: https://img.shields.io/crates/v/electrum-client.svg
[crates.io]: https://crates.io/crates/electrum-client
[MSRV Badge]: https://img.shields.io/badge/rustc-1.63.0%2B-lightgrey.svg
[Rust Blog]: https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html
Bitcoin Electrum client library. Supports plaintext, TLS and Onion servers.