Merge bitcoindevkit/rust-electrum-client#157: ci: pin msrv dep version for rustls
Some checks failed
CI / Rust fmt (push) Has been cancelled
CI / clippy_check (push) Has been cancelled
CI / Test (1.63.0) (push) Has been cancelled
CI / Test (stable) (push) Has been cancelled

b0a1bfb0cb ci: pin msrv dep version for rustls (Steve Myers)

Pull request description:

  I'm not thrilled about having to pin `rustls` to meet our MSRV, but we need to make a new release and can't count on rustls/rustls#2239 being accepted by the `rustls` team.

ACKs for top commit:
  luisschwab:
    utACK b0a1bfb0cb
  ValuedMammal:
    utACK b0a1bfb0cb
  oleonardolima:
    ACK b0a1bfb0cb

Tree-SHA512: 1f37b423f3e10a7e3fa4e2072d5ad38b96341a91f78c1bcffc011dedc08071bd176b556646e40e635c3b558e6b771a4a7baa85b10d14da64d2cd385a69342ee4
This commit is contained in:
Steve Myers 2024-11-25 20:44:25 -08:00
commit f00b9998d1
No known key found for this signature in database
GPG Key ID: 8105A46B22C2D051
2 changed files with 15 additions and 0 deletions

View File

@ -28,6 +28,10 @@ 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.17"
- name: Test
run: cargo test --verbose --all-features
- name: Setup iptables for the timeout test

View File

@ -9,3 +9,14 @@
[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.
## 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.17"
```