Skip to content

Commit

Permalink
Merge #69: ci: change MSRV to 1.63.0
Browse files Browse the repository at this point in the history
2247e64 ci: change MSRV to 1.63.0 (Steve Myers)

Pull request description:

  Since the main BDK crates are changing to MSRV 1.63.0 as is LDK this project also can be updated.

ACKs for top commit:
  evanlinjin:
    ACK 2247e64

Tree-SHA512: ffcf402b32fb9d279cfdd77a5d4d153625fb2c479ec35c8bbe135313f364665595c025107fb614ea707f555911759fb5130b5ca46dbbe624bcc2661d4a1ed72a
  • Loading branch information
notmandatory committed Dec 29, 2023
2 parents ef1925e + 2247e64 commit e412a5f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 36 deletions.
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
```

0 comments on commit e412a5f

Please sign in to comment.