Bump MSRV to `1.80`
Browse files at this commitba3d2e36c874a8be5425ee4f403406bd6f0fe86dParent: b51047f3 changed files +3 -4
- .github/workflows/ci.yml +2 -2
- Cargo.toml +1 -1
- src/protocols/gamma_control.rs +0 -1
.github/workflows/ci.ymlmodified+2 -2
| @@ -96,7 +96,7 @@ jobs: | |||
| 96 | strategy: | 96 | strategy: |
| 97 | fail-fast: false | 97 | fail-fast: false |
| 98 | 98 | ||
| 99 | - name: 'msrv - 1.77.0' | 99 | + name: 'msrv - 1.80.0' |
| 100 | runs-on: ubuntu-24.04 | 100 | runs-on: ubuntu-24.04 |
| 101 | 101 | ||
| 102 | steps: | 102 | steps: |
| @@ -109,7 +109,7 @@ jobs: | |||
| 109 | sudo apt-get update -y | 109 | sudo apt-get update -y |
| 110 | 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 | 110 | 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 |
| 111 | 111 | ||
| 112 | - - uses: dtolnay/rust-toolchain@1.77.0 | 112 | + - uses: dtolnay/rust-toolchain@1.80.0 |
| 113 | 113 | ||
| 114 | - uses: Swatinem/rust-cache@v2 | 114 | - uses: Swatinem/rust-cache@v2 |
| 115 | 115 | ||
Cargo.tomlmodified+1 -1
| @@ -8,7 +8,7 @@ authors = ["Ivan Molodetskikh <yalterz@gmail.com>"] | |||
| 8 | license = "GPL-3.0-or-later" | 8 | license = "GPL-3.0-or-later" |
| 9 | edition = "2021" | 9 | edition = "2021" |
| 10 | repository = "https://github.com/YaLTeR/niri" | 10 | repository = "https://github.com/YaLTeR/niri" |
| 11 | -rust-version = "1.77" | 11 | +rust-version = "1.80" |
| 12 | 12 | ||
| 13 | [workspace.dependencies] | 13 | [workspace.dependencies] |
| 14 | anyhow = "1.0.93" | 14 | anyhow = "1.0.93" |
src/protocols/gamma_control.rsmodified+0 -1
| @@ -177,7 +177,6 @@ where | |||
| 177 | } | 177 | } |
| 178 | 178 | ||
| 179 | // Verify that there's no more data. | 179 | // Verify that there's no more data. |
| 180 | - #[allow(clippy::unused_io_amount)] // False positive on 1.77.0 | ||
| 181 | { | 180 | { |
| 182 | match file.read(&mut [0]) { | 181 | match file.read(&mut [0]) { |
| 183 | Ok(0) => (), | 182 | Ok(0) => (), |