From ba3d2e36c874a8be5425ee4f403406bd6f0fe86d Mon Sep 17 00:00:00 2001 From: bbb651 Date: Fri, 13 Dec 2024 15:35:10 +0200 Subject: Bump MSRV to `1.80` It should be old enough for most distros, and allows upgrading to `zbus 5.x` --- .github/workflows/ci.yml | 4 ++-- Cargo.toml | 2 +- src/protocols/gamma_control.rs | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c8607b4..93968b05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,7 +96,7 @@ jobs: strategy: fail-fast: false - name: 'msrv - 1.77.0' + name: 'msrv - 1.80.0' runs-on: ubuntu-24.04 steps: @@ -109,7 +109,7 @@ jobs: sudo apt-get update -y sudo apt-get install -y curl gcc clang libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libdbus-1-dev libsystemd-dev libseat-dev libpipewire-0.3-dev libpango1.0-dev libadwaita-1-dev libdisplay-info-dev - - uses: dtolnay/rust-toolchain@1.77.0 + - uses: dtolnay/rust-toolchain@1.80.0 - uses: Swatinem/rust-cache@v2 diff --git a/Cargo.toml b/Cargo.toml index 06cb9240..da1df76d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Ivan Molodetskikh "] license = "GPL-3.0-or-later" edition = "2021" repository = "https://github.com/YaLTeR/niri" -rust-version = "1.77" +rust-version = "1.80" [workspace.dependencies] anyhow = "1.0.93" diff --git a/src/protocols/gamma_control.rs b/src/protocols/gamma_control.rs index 4530bb41..d0c99572 100644 --- a/src/protocols/gamma_control.rs +++ b/src/protocols/gamma_control.rs @@ -177,7 +177,6 @@ where } // Verify that there's no more data. - #[allow(clippy::unused_io_amount)] // False positive on 1.77.0 { match file.read(&mut [0]) { Ok(0) => (), -- cgit