From def304766fe3d510aa47a17ba5af669eca5ba3d0 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 13 Jun 2022 11:47:20 -0500 Subject: [PATCH] chore: Bump MSRV to 1.56.0 --- .clippy.toml | 2 +- .github/workflows/ci.yml | 6 +++--- .github/workflows/rust-next.yml | 4 ++-- Cargo.toml | 3 ++- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.clippy.toml b/.clippy.toml index fc3ef79..97dd653 100644 --- a/.clippy.toml +++ b/.clippy.toml @@ -1 +1 @@ -msrv = "1.54.0" # MSRV +msrv = "1.56.0" # MSRV diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb56ab8..483d44a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,7 @@ jobs: - name: No-default features run: cargo test --workspace --no-default-features msrv: - name: "Check MSRV: 1.54.0" + name: "Check MSRV: 1.56.0" runs-on: ubuntu-latest steps: - name: Checkout repository @@ -59,7 +59,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.54.0 # MSRV + toolchain: 1.56.0 # MSRV profile: minimal override: true - uses: Swatinem/rust-cache@v1 @@ -113,7 +113,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.54.0 # MSRV + toolchain: 1.56.0 # MSRV profile: minimal override: true components: clippy diff --git a/.github/workflows/rust-next.yml b/.github/workflows/rust-next.yml index c09fb04..00c8619 100644 --- a/.github/workflows/rust-next.yml +++ b/.github/workflows/rust-next.yml @@ -57,9 +57,9 @@ jobs: strategy: matrix: rust: - - 1.54.0 # MSRV + - 1.56.0 # MSRV - stable - continue-on-error: ${{ matrix.rust != '1.54.0' }} # MSRV + continue-on-error: ${{ matrix.rust != '1.56.0' }} # MSRV runs-on: ubuntu-latest steps: - name: Checkout repository diff --git a/Cargo.toml b/Cargo.toml index 7ddb6d1..c049b10 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,8 @@ authors = ["Pascal Hertleif "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-clique/clap-verbosity-flag" readme = "README.md" -edition = "2018" +edition = "2021" +rust-version = "1.56.0" # MSRV include = [ "src/**/*", "Cargo.toml",