From af389624950f5a22d21389a8161b04874abdd43e Mon Sep 17 00:00:00 2001 From: Kornel Date: Sun, 22 Dec 2024 17:53:21 +0000 Subject: [PATCH] Bump MSRV (#557) --- .github/workflows/rust.yml | 6 +++--- Cargo.toml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 6a04428f..c92ebd52 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - rust: ["1.57.0", stable, beta, nightly] + rust: ["1.65.0", stable, beta, nightly] os: [ubuntu-latest, windows-latest, macos-latest] features: [""] runs-on: ${{ matrix.os }} @@ -17,9 +17,9 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@nightly - if: ${{ matrix.rust == '1.57.0' }} + if: ${{ matrix.rust == '1.65.0' }} - name: Generate Cargo.lock with minimal-version dependencies - if: ${{ matrix.rust == '1.57.0' }} + if: ${{ matrix.rust == '1.65.0' }} run: cargo -Zminimal-versions generate-lockfile - uses: actions-rs/toolchain@v1 diff --git a/Cargo.toml b/Cargo.toml index bf056201..7bc7e240 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,8 +8,8 @@ categories = ["multimedia::images"] authors = ["The image-rs Developers"] repository = "https://github.com/image-rs/image-png" -edition = "2018" -rust-version = "1.57" +edition = "2021" +rust-version = "1.65" include = [ "/LICENSE-MIT", "/LICENSE-APACHE",