diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 49cd2a4a..ea6c4cd6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -24,6 +24,18 @@ jobs: with: toolchain: ${{ matrix.rust }} override: true + - name: Fixes for MSRV + if: matrix.rust == '1.63.0' + run: | + cargo update + cargo update -p log --precise 0.4.18 + cargo update -p tempfile --precise 3.6.0 + cargo update -p flate2 --precise 1.0.26 + cargo update -p minreq --precise 2.8.0 + cargo update -p rustls --precise 0.20.8 + cargo update -p webpki --precise 0.22.2 + cargo update -p byteorder --precise 1.4.3 + cargo update -p regex --precise 1.9.6 - name: test run: cargo test --verbose --all-features --lib diff --git a/README.md b/README.md index 6644812b..2dff85e9 100644 --- a/README.md +++ b/README.md @@ -72,11 +72,22 @@ Seeking review of the code that verifies there is no overpayment. Contributions ## Minimum Supported Rust Version (MSRV) -The `payjoin` library MSRV is **1.63.0**. +The `payjoin` library should always compile with any combination of features on Rust **1.63.0**. + +To build and test with the MSRV you will need to pin the below dependency versions: + cargo update + cargo update -p log --precise 0.4.18 + cargo update -p tempfile --precise 3.6.0 + cargo update -p flate2 --precise 1.0.26 + cargo update -p minreq --precise 2.8.0 + cargo update -p rustls --precise 0.20.8 + cargo update -p webpki --precise 0.22.2 + cargo update -p byteorder --precise 1.4.3 + cargo update -p regex --precise 1.9.6 The `payjoin` library is reguraly tested aginst **1.63.0/stable/nightly**. -The `payjoin-cli` package is not maintaing MSRV and +The `payjoin-cli` package is not maintaing MSRV and it is reguraly tested against **stable/nightly**. ## License