Skip to content

Commit b0a1bfb

Browse files
committed
ci: pin msrv dep version for rustls
1 parent 6e2a9b4 commit b0a1bfb

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.github/workflows/cont_integration.yml

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
uses: dtolnay/rust-toolchain@stable
2929
with:
3030
toolchain: ${{ matrix.rust }}
31+
- name: Pin dependencies for MSRV
32+
if: matrix.rust == '1.63.0'
33+
run: |
34+
cargo update -p rustls --precise "0.23.17"
3135
- name: Test
3236
run: cargo test --verbose --all-features
3337
- name: Setup iptables for the timeout test

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,14 @@
99
[Rust Blog]: https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html
1010

1111
Bitcoin Electrum client library. Supports plaintext, TLS and Onion servers.
12+
13+
## Minimum Supported Rust Version (MSRV)
14+
15+
This library should compile with any combination of features with Rust 1.63.0.
16+
17+
To build with the MSRV you will need to pin dependencies as follows:
18+
19+
```shell
20+
cargo update -p rustls --precise "0.23.17"
21+
```
22+

0 commit comments

Comments
 (0)