From 6f300fe19cf06873c1ef3f3350161b0573d02fab Mon Sep 17 00:00:00 2001 From: Leonardo Lima Date: Thu, 7 May 2026 17:08:21 -0300 Subject: [PATCH] fix(ci): pin `openssl` and `openssl-sys` --- .github/workflows/cont_integration.yml | 10 ++++++++++ README.md | 7 +++++++ 2 files changed, 17 insertions(+) diff --git a/.github/workflows/cont_integration.yml b/.github/workflows/cont_integration.yml index 5494462..3d2844f 100644 --- a/.github/workflows/cont_integration.yml +++ b/.github/workflows/cont_integration.yml @@ -28,6 +28,11 @@ jobs: uses: dtolnay/rust-toolchain@stable with: toolchain: ${{ matrix.rust }} + - name: Pin dependencies for MSRV + if: matrix.rust == '1.75.0' + run: | + cargo update -p openssl --precise "0.10.78" + cargo update -p openssl-sys --precise "0.9.114" - name: Test run: cargo test --verbose --all-features @@ -62,6 +67,11 @@ jobs: uses: dtolnay/rust-toolchain@stable with: toolchain: ${{ matrix.rust }} + - name: Pin dependencies for MSRV + if: matrix.rust == '1.75.0' + run: | + cargo update -p openssl --precise "0.10.78" + cargo update -p openssl-sys --precise "0.9.114" - name: Check features run: cargo check --verbose ${{ matrix.features }} diff --git a/README.md b/README.md index 6580838..d543c15 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,13 @@ Bitcoin Electrum client library. Supports plaintext, TLS and Onion servers. This library should compile with any combination of features with Rust 1.75.0. +To build with the MSRV you will need to pin dependencies by running: + +``` bash +cargo update -p openssl --precise "0.10.78" +cargo update -p openssl-sys --precise "0.9.114" +``` + ## License Licensed under either of