Bump MSRV to 1.85, upgrade deps

This commit is contained in:
Ivan Molodetskikh
2025-12-18 11:41:57 +03:00
parent 890935d2ba
commit 80469abc20
7 changed files with 428 additions and 618 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ jobs:
sudo apt-get update -y sudo apt-get update -y
sudo apt-get install -y ${{ env.DEPS_APT }} libadwaita-1-dev sudo apt-get install -y ${{ env.DEPS_APT }} libadwaita-1-dev
- uses: dtolnay/rust-toolchain@1.80.1 - uses: dtolnay/rust-toolchain@1.85.0
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
Generated
+402 -593
View File
File diff suppressed because it is too large Load Diff
+18 -18
View File
@@ -12,16 +12,16 @@ authors = ["Ivan Molodetskikh <yalterz@gmail.com>"]
license = "GPL-3.0-or-later" license = "GPL-3.0-or-later"
edition = "2021" edition = "2021"
repository = "https://github.com/YaLTeR/niri" repository = "https://github.com/YaLTeR/niri"
rust-version = "1.80.1" rust-version = "1.85"
[workspace.dependencies] [workspace.dependencies]
anyhow = "1.0.100" anyhow = "1.0.100"
bitflags = "2.9.4" bitflags = "2.10.0"
clap = { version = "4.5.48", features = ["derive"] } clap = { version = "4.5.53", features = ["derive"] }
insta = "1.43.2" insta = "1.44.3"
serde = { version = "1.0.228", features = ["derive"] } serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145" serde_json = "1.0.145"
tracing = { version = "0.1.41", features = ["max_level_trace", "release_max_level_debug"] } tracing = { version = "0.1.43", features = ["max_level_trace", "release_max_level_debug"] }
# 0.3.20 filters out all ANSI codes to "fix a security issue" while also breaking # 0.3.20 filters out all ANSI codes to "fix a security issue" while also breaking
# everyone who relied on them for color output, with no fallback available. # everyone who relied on them for color output, with no fallback available.
# https://github.com/tokio-rs/tracing/issues/3378 # https://github.com/tokio-rs/tracing/issues/3378
@@ -53,35 +53,35 @@ readme = "README.md"
keywords = ["wayland", "compositor", "tiling", "smithay", "wm"] keywords = ["wayland", "compositor", "tiling", "smithay", "wm"]
[dependencies] [dependencies]
accesskit = { version = "0.21.0", optional = true } accesskit = { version = "0.21.1", optional = true }
accesskit_unix = { version = "0.17.0", optional = true } accesskit_unix = { version = "0.17.2", optional = true }
anyhow.workspace = true anyhow.workspace = true
arrayvec = "0.7.6" arrayvec = "0.7.6"
async-channel = "2.5.0" async-channel = "2.5.0"
async-io = { version = "2.6.0", optional = true } async-io = { version = "2.6.0", optional = true }
atomic = "0.6.1" atomic = "0.6.1"
bitflags.workspace = true bitflags.workspace = true
bytemuck = { version = "1.23.2", features = ["derive"] } bytemuck = { version = "1.24.0", features = ["derive"] }
calloop = { version = "0.14.3", features = ["executor", "futures-io", "signals"] } calloop = { version = "0.14.3", features = ["executor", "futures-io", "signals"] }
clap = { workspace = true, features = ["string"] } clap = { workspace = true, features = ["string"] }
clap_complete = "4.5.58" clap_complete = "4.5.61"
clap_complete_nushell = "4.5.8" clap_complete_nushell = "4.5.10"
directories = "6.0.0" directories = "6.0.0"
drm-ffi = "0.9.0" drm-ffi = "0.9.0"
fastrand = "2.3.0" fastrand = "2.3.0"
futures-util = { version = "0.3.31", default-features = false, features = ["std", "io"] } futures-util = { version = "0.3.31", default-features = false, features = ["std", "io"] }
git-version = "0.3.9" git-version = "0.3.9"
glam = "0.30.8" glam = "0.30.9"
input = { version = "0.9.1", features = ["libinput_1_21"] } input = { version = "0.9.1", features = ["libinput_1_21"] }
keyframe = { version = "1.1.1", default-features = false } keyframe = { version = "1.1.1", default-features = false }
libc = "0.2.176" libc = "0.2.178"
libdisplay-info = "0.3.0" libdisplay-info = "0.3.0"
log = { version = "0.4.28", features = ["max_level_trace", "release_max_level_debug"] } log = { version = "0.4.29", features = ["max_level_trace", "release_max_level_debug"] }
niri-config = { version = "25.11.0", path = "niri-config" } niri-config = { version = "25.11.0", path = "niri-config" }
niri-ipc = { version = "25.11.0", path = "niri-ipc", features = ["clap"] } niri-ipc = { version = "25.11.0", path = "niri-ipc", features = ["clap"] }
ordered-float = "5.1.0" ordered-float = "5.1.0"
pango = { version = "0.20.12", features = ["v1_44"] } pango = { version = "0.21.5", features = ["v1_44"] }
pangocairo = "0.20.10" pangocairo = "0.21.5"
pipewire = { version = "0.9.2", optional = true, features = ["v0_3_33"] } pipewire = { version = "0.9.2", optional = true, features = ["v0_3_33"] }
png = "0.18.0" png = "0.18.0"
portable-atomic = { version = "1.11.1", default-features = false, features = ["float"] } portable-atomic = { version = "1.11.1", default-features = false, features = ["float"] }
@@ -96,7 +96,7 @@ tracy-client.workspace = true
wayland-backend = "0.3.11" wayland-backend = "0.3.11"
wayland-scanner = "0.31.7" wayland-scanner = "0.31.7"
xcursor = "0.3.10" xcursor = "0.3.10"
zbus = { version = "5.11.0", optional = true } zbus = { version = "5.12.0", optional = true }
[dependencies.smithay] [dependencies.smithay]
workspace = true workspace = true
@@ -120,8 +120,8 @@ features = [
approx = "0.5.1" approx = "0.5.1"
calloop-wayland-source = "0.4.1" calloop-wayland-source = "0.4.1"
insta.workspace = true insta.workspace = true
proptest = "1.8.0" proptest = "1.9.0"
proptest-derive = { version = "0.6.0", features = ["boxed_union"] } proptest-derive = { version = "0.7.0", features = ["boxed_union"] }
rayon = "1.11.0" rayon = "1.11.0"
wayland-client = "0.31.11" wayland-client = "0.31.11"
xshell = "0.2.7" xshell = "0.2.7"
+2 -2
View File
@@ -9,11 +9,11 @@ repository.workspace = true
[dependencies] [dependencies]
bitflags.workspace = true bitflags.workspace = true
csscolorparser = "0.7.2" csscolorparser = "0.8.1"
knuffel = "3.2.0" knuffel = "3.2.0"
miette = { version = "5.10.0", features = ["fancy-no-backtrace"] } miette = { version = "5.10.0", features = ["fancy-no-backtrace"] }
niri-ipc = { version = "25.11.0", path = "../niri-ipc" } niri-ipc = { version = "25.11.0", path = "../niri-ipc" }
regex = "1.11.3" regex = "1.12.2"
smithay = { workspace = true, features = ["backend_libinput"] } smithay = { workspace = true, features = ["backend_libinput"] }
tracing.workspace = true tracing.workspace = true
tracy-client.workspace = true tracy-client.workspace = true
+1 -1
View File
@@ -13,7 +13,7 @@ readme = "README.md"
[dependencies] [dependencies]
clap = { workspace = true, optional = true } clap = { workspace = true, optional = true }
schemars = { version = "1.0.4", optional = true } schemars = { version = "1.1.0", optional = true }
serde.workspace = true serde.workspace = true
serde_json.workspace = true serde_json.workspace = true
+2 -2
View File
@@ -8,9 +8,9 @@ edition.workspace = true
repository.workspace = true repository.workspace = true
[dependencies] [dependencies]
adw = { version = "0.7.2", package = "libadwaita", features = ["v1_4"] } adw = { version = "0.8.1", package = "libadwaita", features = ["v1_4"] }
anyhow.workspace = true anyhow.workspace = true
gtk = { version = "0.9.7", package = "gtk4", features = ["v4_12"] } gtk = { version = "0.10.3", package = "gtk4", features = ["v4_12"] }
niri = { version = "25.11.0", path = ".." } niri = { version = "25.11.0", path = ".." }
niri-config = { version = "25.11.0", path = "../niri-config" } niri-config = { version = "25.11.0", path = "../niri-config" }
smithay.workspace = true smithay.workspace = true
+2 -1
View File
@@ -255,7 +255,8 @@ mod imp {
glib::wrapper! { glib::wrapper! {
pub struct SmithayView(ObjectSubclass<imp::SmithayView>) pub struct SmithayView(ObjectSubclass<imp::SmithayView>)
@extends gtk::Widget; @extends gtk::Widget,
@implements gtk::Accessible, gtk::Buildable, gtk::ConstraintTarget;
} }
impl SmithayView { impl SmithayView {