Skip to content

Commit d1d3557

Browse files
committed
Merge #209: fix(ci): pin openssl and openssl-sys
6f300fe fix(ci): pin `openssl` and `openssl-sys` (Leonardo Lima) Pull request description: ## Description It fixes the CI for 1.75.0 MSRV jobs, by pinning the required dependencies. ## Changelog notice ``` ### Fixed - fix(ci): pin `openssl` and `openssl-sys` for MSRV CI. ``` ACKs for top commit: luisschwab: ACK 6f300fe Tree-SHA512: d315e519cc9d3d7589313751a41af1486628929d7c57ce848fbed1043d6a5819b1baf980fec4844286b041879c5e3500c6f7636ee84d337178628d74fd7a22bb
2 parents c770681 + 6f300fe commit d1d3557

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/cont_integration.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ jobs:
2828
uses: dtolnay/rust-toolchain@stable
2929
with:
3030
toolchain: ${{ matrix.rust }}
31+
- name: Pin dependencies for MSRV
32+
if: matrix.rust == '1.75.0'
33+
run: |
34+
cargo update -p openssl --precise "0.10.78"
35+
cargo update -p openssl-sys --precise "0.9.114"
3136
- name: Test
3237
run: cargo test --verbose --all-features
3338

@@ -62,6 +67,11 @@ jobs:
6267
uses: dtolnay/rust-toolchain@stable
6368
with:
6469
toolchain: ${{ matrix.rust }}
70+
- name: Pin dependencies for MSRV
71+
if: matrix.rust == '1.75.0'
72+
run: |
73+
cargo update -p openssl --precise "0.10.78"
74+
cargo update -p openssl-sys --precise "0.9.114"
6575
- name: Check features
6676
run: cargo check --verbose ${{ matrix.features }}
6777

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ Bitcoin Electrum client library. Supports plaintext, TLS and Onion servers.
1414

1515
This library should compile with any combination of features with Rust 1.75.0.
1616

17+
To build with the MSRV you will need to pin dependencies by running:
18+
19+
``` bash
20+
cargo update -p openssl --precise "0.10.78"
21+
cargo update -p openssl-sys --precise "0.9.114"
22+
```
23+
1724
## License
1825

1926
Licensed under either of

0 commit comments

Comments
 (0)