ci(msrv): bump rust MSRV to 1.75
- bumps the MSRV on CI to 1.75. - updates the `Cargo.toml` rust-version to 1.75. - removes the guideline to pin `rustls` version, as previously required by old 1.63 MSRV. - update `README.md` badges to `1.75` MSRV. - update `clippy.toml` to `1.75` MSRV.
This commit is contained in:
parent
15f753f05f
commit
ec90685324
6
.github/workflows/cont_integration.yml
vendored
6
.github/workflows/cont_integration.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
||||
matrix:
|
||||
rust:
|
||||
- stable # STABLE
|
||||
- 1.63.0 # MSRV
|
||||
- 1.75.0 # MSRV
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@ -28,10 +28,6 @@ jobs:
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
- name: Pin dependencies for MSRV
|
||||
if: matrix.rust == '1.63.0'
|
||||
run: |
|
||||
cargo update -p rustls --precise "0.23.19"
|
||||
- name: Test
|
||||
run: cargo test --verbose --all-features
|
||||
- name: Setup iptables for the timeout test
|
||||
|
||||
@ -9,7 +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"
|
||||
rust-version = "1.75.0"
|
||||
edition = "2021"
|
||||
|
||||
# loosely based on https://github.com/evgeniy-scherbina/rust-electrumx-client
|
||||
|
||||
13
README.md
13
README.md
@ -5,18 +5,11 @@
|
||||
[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
|
||||
[MSRV Badge]: https://img.shields.io/badge/rustc-1.75.0%2B-lightgrey.svg
|
||||
[Rust Blog]: https://blog.rust-lang.org/2023/12/28/Rust-1.75.0.html
|
||||
|
||||
Bitcoin Electrum client library. Supports plaintext, TLS and Onion servers.
|
||||
|
||||
## Minimum Supported Rust Version (MSRV)
|
||||
|
||||
This library should compile with any combination of features with Rust 1.63.0.
|
||||
|
||||
To build with the MSRV you will need to pin dependencies as follows:
|
||||
|
||||
```shell
|
||||
cargo update -p rustls --precise "0.23.19"
|
||||
```
|
||||
|
||||
This library should compile with any combination of features with Rust 1.75.0.
|
||||
|
||||
@ -1 +1 @@
|
||||
msrv="1.63.0"
|
||||
msrv="1.75.0"
|
||||
Loading…
Reference in New Issue
Block a user