From fb03097e885101c083aaf7fc48b63e3ef3ab8df5 Mon Sep 17 00:00:00 2001 From: tottoto Date: Wed, 6 Mar 2024 02:29:58 +0900 Subject: [PATCH] chore(core): set msrv to 1.49 --- .github/workflows/ci.yml | 7 ++----- headers-core/Cargo.toml | 1 + 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 15dcd784..e401d2ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,8 +36,5 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install rust ${{ env.minrust }} - uses: dtolnay/rust-toolchain@master - with: - toolchain: ${{ env.minrust }} - - run: cargo build + - uses: taiki-e/install-action@cargo-hack + - run: cargo hack --rust-version --no-dev-deps check --workspace diff --git a/headers-core/Cargo.toml b/headers-core/Cargo.toml index 60ecec29..a7aad04d 100644 --- a/headers-core/Cargo.toml +++ b/headers-core/Cargo.toml @@ -8,6 +8,7 @@ homepage = "https://hyper.rs" repository = "https://github.com/hyperium/headers" authors = ["Sean McArthur "] keywords = ["http", "headers", "hyper", "hyperium"] +rust-version = "1.49" [dependencies] http = "1.0.0"