From 361f9255261668448d96091f3b783f425c6265c7 Mon Sep 17 00:00:00 2001 From: Steve Myers Date: Wed, 9 Aug 2023 14:13:44 -0500 Subject: [PATCH] ci: pin tokio to 1.29.1 and cc to 1.0.81 to build with MSRV 1.57.0 --- .github/workflows/cont_integration.yml | 4 ++++ README.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/cont_integration.yml b/.github/workflows/cont_integration.yml index 07f19a45..e5b9e290 100644 --- a/.github/workflows/cont_integration.yml +++ b/.github/workflows/cont_integration.yml @@ -69,6 +69,8 @@ jobs: cargo update -p zip --precise "0.6.3" cargo update -p base64ct --precise "1.5.3" cargo update -p rustix --precise "0.37.23" + cargo update -p tokio --precise "1.29.1" + cargo update -p cc --precise "1.0.81" - name: Build run: cargo build --features ${{ matrix.features }} --no-default-features - name: Clippy @@ -227,5 +229,7 @@ jobs: cargo update -p zip --precise "0.6.3" cargo update -p base64ct --precise "1.5.3" cargo update -p rustix --precise "0.37.23" + cargo update -p tokio --precise "1.29.1" + cargo update -p cc --precise "1.0.81" - name: Test run: cargo test --features test-hardware-signer diff --git a/README.md b/README.md index b5811d3a..a8a3fa2b 100644 --- a/README.md +++ b/README.md @@ -223,4 +223,8 @@ cargo update -p zip --precise "0.6.3" cargo update -p base64ct --precise "1.5.3" # rustix 0.38.0 has MSRV 1.65.0 cargo update -p rustix --precise "0.37.23" +# tokio 0.30.0 has MSRV 1.63.0 +cargo update -p tokio --precise "1.29.1" +# cc 1.0.82 is throwing error with rust 1.57.0, "error[E0599]: no method named `retain_mut`..." +cargo update -p cc --precise "1.0.81" ```