From f22b096a80e6cbac8363a137321ea5668c203c34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Gonz=C3=A1lez?= Date: Thu, 24 Aug 2023 01:42:20 +0200 Subject: [PATCH] Fix build failing on MSRV `tokio` pulled a dependency on a version of `socket2` that had a too high MSRV. Because the `tokio` `socket2` version dependency range starts at a too new `socket2` version, it's necessary to downgrade `tokio` to the last version that has a MSRV compatible with ours. --- .github/workflows/ogg.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ogg.yml b/.github/workflows/ogg.yml index e397080..445a0b3 100644 --- a/.github/workflows/ogg.yml +++ b/.github/workflows/ogg.yml @@ -19,6 +19,9 @@ jobs: with: toolchain: ${{ matrix.toolchain }} override: true + - name: Downgrade dependencies to comply with MSRV + if: matrix.toolchain == '1.56.1' + run: cargo update -p tokio --precise 1.29.1 - name: Run no-default-features builds if: matrix.toolchain != '1.56.1' run: |