aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbbb651 <bar.ye651@gmail.com>2024-12-13 15:35:10 +0200
committerIvan Molodetskikh <yalterz@gmail.com>2024-12-22 15:19:46 +0300
commitba3d2e36c874a8be5425ee4f403406bd6f0fe86d (patch)
tree19dd74c5968a879d67e4bde2153ccc13933430df
parentb51047ffccff4aad12f84b6b1c3a20a782153d2f (diff)
downloadniri-ba3d2e36c874a8be5425ee4f403406bd6f0fe86d.tar.gz
niri-ba3d2e36c874a8be5425ee4f403406bd6f0fe86d.tar.bz2
niri-ba3d2e36c874a8be5425ee4f403406bd6f0fe86d.zip
Bump MSRV to `1.80`
It should be old enough for most distros, and allows upgrading to `zbus 5.x`
-rw-r--r--.github/workflows/ci.yml4
-rw-r--r--Cargo.toml2
-rw-r--r--src/protocols/gamma_control.rs1
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 <yalterz@gmail.com>"]
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) => (),