]> Untitled Git - bdk/commitdiff
ci: Pin rustls to keep the MSRV
authorDaniela Brozzoni <danielabrozzoni@protonmail.com>
Thu, 3 Aug 2023 08:35:53 +0000 (10:35 +0200)
committerDaniela Brozzoni <danielabrozzoni@protonmail.com>
Thu, 3 Aug 2023 08:59:16 +0000 (10:59 +0200)
.github/workflows/cont_integration.yml
README.md

index d03ce9436c73462097ad27cf7a49afdd4c09f0d8..200f419b0965337069e998dacf369561acd85104 100644 (file)
@@ -29,7 +29,7 @@ jobs:
         uses: Swatinem/rust-cache@v2.2.1
       - name: Pin dependencies for MSRV
         if: matrix.rust.version == '1.57.0'
-        run: cargo update -p log --precise "0.4.18" && cargo update -p tempfile --precise "3.6.0"
+        run: cargo update -p log --precise "0.4.18" && cargo update -p tempfile --precise "3.6.0" && cargo update -p rustls:0.21.6 --precise "0.21.1"
       - name: Build
         run: cargo build ${{ matrix.features }}
       - name: Test
index 565212754db311c5d5df80f549504dcc9f7e1720..92161130e5d4ff8705405b7391e7d564023d2549 100644 (file)
--- a/README.md
+++ b/README.md
@@ -61,6 +61,8 @@ To build with the MSRV you will need to pin dependencies as follows:
 ```
 # log 0.4.19 has MSRV 1.60.0+
 cargo update -p log --precise "0.4.18"
-# tempfile 3.7.0 has MSRV 1.63.0
+# tempfile 3.7.0 has MSRV 1.63.0+
 cargo update -p tempfile --precise "3.6.0"
+# rustls 0.21.2 has MSRV 1.60.0+
+cargo update -p rustls:0.21.6 --precise "0.21.1"
 ```