From 27bfcf55626052a1ebc35cd5c0fceadc3feb34e3 Mon Sep 17 00:00:00 2001 From: "A. Molzer" <5550310+197g@users.noreply.github.com> Date: Tue, 6 Jan 2026 17:27:51 +0100 Subject: [PATCH] Bump MSRV to 1.85 This gives us the diagnostic items. As a side effect we will have `expect` for lints from 1.81 to apply in later PRs. It's time I think. --- .github/workflows/rust.yml | 8 ++++---- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7e087ca..fe3ebab 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -9,14 +9,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - rust: ["1.74.0", stable, beta, nightly] + rust: ["1.85.0", stable, beta, nightly] steps: - uses: actions/checkout@v2 - uses: dtolnay/rust-toolchain@nightly - if: ${{ matrix.rust == '1.74.0' }} + if: ${{ matrix.rust == '1.85.0' }} - name: Generate Cargo.lock with minimal-version dependencies - if: ${{ matrix.rust == '1.74.0' }} + if: ${{ matrix.rust == '1.85.0' }} run: cargo -Zminimal-versions generate-lockfile - uses: dtolnay/rust-toolchain@v1 @@ -29,7 +29,7 @@ jobs: - name: build run: cargo build -v - name: test - if: ${{ matrix.rust != '1.74.0' }} + if: ${{ matrix.rust != '1.85.0' }} run: cargo test -v && cargo doc -v features: diff --git a/Cargo.toml b/Cargo.toml index c067ce4..82118fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" resolver = "2" # note: when changed, also update test runner in `.github/workflows/rust.yml` -rust-version = "1.74.0" +rust-version = "1.85.0" license = "MIT" description = "TIFF decoding and encoding library in pure Rust"