From 3cce461bede62fe7f2e917531e96325221b2278c Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Mon, 30 Sep 2024 16:44:59 -0400 Subject: [PATCH 1/2] lints: fix unexpected cfgs warnings --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index a84beebc..e55b3ba7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -71,5 +71,8 @@ env_logger = { version = "0.10", default-features = false } tokio-rustls = "0.24" webpki-roots = "0.25" +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ["cfg(fuzzing)"] } + [package.metadata.docs.rs] features = ["stream"] From 2616f242676bc52317af03106aeec2d63f6051d4 Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Mon, 30 Sep 2024 16:49:24 -0400 Subject: [PATCH 2/2] ci: pin deps for MSRV --- .github/workflows/CI.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 437e6e08..66a15338 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -87,6 +87,11 @@ jobs: with: toolchain: ${{ steps.msrv.outputs.version }} + - name: Pin some dependencies for MSRV + run: | + cargo update --package tokio --precise 1.38.1 + cargo update --package tokio-util --precise 0.7.11 + - run: cargo check -p h2 minimal-versions: