From 1da3b304bb0aa29e3bb013e0a583c34ec390b32d Mon Sep 17 00:00:00 2001 From: Daniela Brozzoni Date: Thu, 3 Aug 2023 10:35:53 +0200 Subject: [PATCH] ci: Pin rustls to keep the MSRV --- .github/workflows/cont_integration.yml | 2 +- README.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cont_integration.yml b/.github/workflows/cont_integration.yml index d03ce9436..200f419b0 100644 --- a/.github/workflows/cont_integration.yml +++ b/.github/workflows/cont_integration.yml @@ -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 diff --git a/README.md b/README.md index 565212754..92161130e 100644 --- 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" ```