From e50e56e4613ec6fae0f9d3ed02892749cd55f7b4 Mon Sep 17 00:00:00 2001 From: tottoto Date: Mon, 16 Oct 2023 19:29:03 +0900 Subject: [PATCH 1/3] chore(ci): add minimal versions checking on stable rust --- .github/workflows/CI.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4c199067..29d221cf 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -90,6 +90,13 @@ jobs: - run: cargo check -p h2 + minimal-versions: + runs-on: ubuntu-latest + needs: [style] + steps: + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@nightly + - uses: dtolnay/rust-toolchain@stable - uses: taiki-e/install-action@cargo-hack - uses: taiki-e/install-action@cargo-minimal-versions + - run: cargo minimal-versions --ignore-private check From ed14bd13747a3e28b48768071c64e135735813ef Mon Sep 17 00:00:00 2001 From: tottoto Date: Mon, 16 Oct 2023 19:30:51 +0900 Subject: [PATCH 2/3] fix(test): mark h2-support as private crate --- tests/h2-support/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/h2-support/Cargo.toml b/tests/h2-support/Cargo.toml index f178178e..522d904c 100644 --- a/tests/h2-support/Cargo.toml +++ b/tests/h2-support/Cargo.toml @@ -2,6 +2,7 @@ name = "h2-support" version = "0.1.0" authors = ["Carl Lerche "] +publish = false edition = "2018" [dependencies] From 764a4fa1be41920771a0e343daff98f0a22bfc7d Mon Sep 17 00:00:00 2001 From: tottoto Date: Mon, 16 Oct 2023 19:31:24 +0900 Subject: [PATCH 3/3] chore(dependencies): update tracing minimal version to 0.1.35 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 70156498..a567bf53 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,7 +48,7 @@ tokio-util = { version = "0.7.1", features = ["codec", "io"] } tokio = { version = "1", features = ["io-util"] } bytes = "1" http = "0.2" -tracing = { version = "0.1.32", default-features = false, features = ["std"] } +tracing = { version = "0.1.35", default-features = false, features = ["std"] } fnv = "1.0.5" slab = "0.4.2" indexmap = { version = "2", features = ["std"] }