ci: Pin rustls to keep the MSRV

This commit is contained in:
Daniela Brozzoni 2023-08-03 10:35:53 +02:00
parent 792b39fa92
commit 1da3b304bb
No known key found for this signature in database
GPG Key ID: 7DE4F1FDCED0AB87
2 changed files with 4 additions and 2 deletions

View 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

View File

@ -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"
```