Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: change MSRV to 1.63.0 #69

Merged
merged 1 commit into from
Dec 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 3 additions & 16 deletions .github/workflows/cont_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
rust:
- version: stable # STABLE
clippy: true
- version: 1.57.0 # MSRV
- version: 1.63.0 # MSRV
features:
- default
- blocking
Expand Down Expand Up @@ -49,22 +49,9 @@ jobs:
- name: Update toolchain
run: rustup update
- name: pin dependencies
if: matrix.rust.version == '1.57.0'
if: matrix.rust.version == '1.63.0'
run: |
cargo update -p tokio --precise 1.29.1
cargo update -p reqwest --precise 0.11.18
cargo update -p rustls:0.20.9 --precise 0.20.8
cargo update -p rustix --precise 0.38.6
cargo update -p rustls:0.21.7 --precise 0.21.1
cargo update -p hyper-rustls:0.24.1 --precise 0.24.0
cargo update -p rustls-webpki:0.100.3 --precise 0.100.1
cargo update -p rustls-webpki:0.101.6 --precise 0.101.1
cargo update -p tempfile --precise 3.6.0
cargo update -p h2 --precise 0.3.20
cargo update -p flate2:1.0.27 --precise 1.0.26
cargo update -p cc --precise 1.0.81
cargo update -p tokio-util --precise 0.7.8
cargo update -p time:0.3.15 --precise 0.3.13
cargo update -p home --precise 0.5.5
- name: Build
run: cargo build --features ${{ matrix.features }} --no-default-features
- name: Clippy
Expand Down
4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ tokio = { version = "1.20.1", features = ["full"] }
electrsd = { version = "0.24.0", features = ["legacy", "esplora_a33e97e1", "bitcoind_22_0"] }
electrum-client = "0.16.0"
lazy_static = "1.4.0"
# zip versions after 0.6.3 don't work with our MSRV 1.57.0
zip = "=0.6.3"
# base64ct versions at 1.6.0 and higher have MSRV 1.60.0
base64ct = "<1.6.0"

[features]
default = ["blocking", "async", "async-https"]
Expand Down
19 changes: 3 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,15 @@ Bitcoin Esplora API client library. Supports plaintext, TLS and Onion servers. B
<a href="https://github.com/bitcoindevkit/rust-esplora-client/actions/workflows/cont_integration.yml"><img alt="CI Status" src="https://github.com/bitcoindevkit/rust-esplora-client/workflows/Rust/badge.svg"></a>
<a href='https://coveralls.io/github/bitcoindevkit/rust-esplora-client?branch=master'><img src='https://coveralls.io/repos/github/bitcoindevkit/rust-esplora-client/badge.svg?branch=master' alt='Coverage Status' /></a>
<a href="https://docs.rs/esplora-client"><img alt="API Docs" src="https://img.shields.io/badge/docs.rs-esplora--client-green"/></a>
<a href="https://blog.rust-lang.org/2021/12/02/Rust-1.57.0.html"><img alt="Rustc Version 1.57.0+" src="https://img.shields.io/badge/rustc-1.57.0%2B-lightgrey.svg"/></a>
<a href="https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html"><img alt="Rustc Version 1.63.0+" src="https://img.shields.io/badge/rustc-1.63.0%2B-lightgrey.svg"/></a>
<a href="https://discord.gg/d7NkDKm"><img alt="Chat on Discord" src="https://img.shields.io/discord/753336465005608961?logo=discord"></a>
</p>

## Minimum Supported Rust Version (MSRV)
This library should compile with any combination of features with Rust 1.57.0.
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 tokio --precise 1.29.1
cargo update -p reqwest --precise 0.11.18
cargo update -p rustls:0.20.9 --precise 0.20.8
cargo update -p rustix --precise 0.38.6
cargo update -p rustls:0.21.7 --precise 0.21.1
cargo update -p hyper-rustls:0.24.1 --precise 0.24.0
cargo update -p rustls-webpki:0.100.3 --precise 0.100.1
cargo update -p rustls-webpki:0.101.6 --precise 0.101.1
cargo update -p tempfile --precise 3.6.0
cargo update -p h2 --precise 0.3.20
cargo update -p flate2:1.0.27 --precise 1.0.26
cargo update -p cc --precise 1.0.81
cargo update -p tokio-util --precise 0.7.8
cargo update -p time:0.3.15 --precise 0.3.13
cargo update -p home --precise 0.5.5
```
Loading