mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
Upgrade dependencies
This commit is contained in:
Generated
+251
-271
File diff suppressed because it is too large
Load Diff
+13
-13
@@ -16,9 +16,9 @@ rust-version = "1.85"
|
|||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
anyhow = "1.0.102"
|
anyhow = "1.0.102"
|
||||||
bitflags = "2.11.0"
|
bitflags = "2.11.1"
|
||||||
clap = { version = "4.5.60", features = ["derive"] }
|
clap = { version = "4.6.1", features = ["derive"] }
|
||||||
insta = "1.46.3"
|
insta = "1.47.2"
|
||||||
serde = { version = "1.0.228", features = ["derive"] }
|
serde = { version = "1.0.228", features = ["derive"] }
|
||||||
serde_json = "1.0.149"
|
serde_json = "1.0.149"
|
||||||
tracing = { version = "0.1.44", features = ["max_level_trace", "release_max_level_debug"] }
|
tracing = { version = "0.1.44", features = ["max_level_trace", "release_max_level_debug"] }
|
||||||
@@ -66,28 +66,28 @@ bitflags.workspace = true
|
|||||||
bytemuck = { version = "1.25.0", features = ["derive"] }
|
bytemuck = { version = "1.25.0", features = ["derive"] }
|
||||||
calloop = { version = "0.14.4", features = ["executor", "futures-io", "signals"] }
|
calloop = { version = "0.14.4", features = ["executor", "futures-io", "signals"] }
|
||||||
clap = { workspace = true, features = ["string"] }
|
clap = { workspace = true, features = ["string"] }
|
||||||
clap_complete = "4.5.66"
|
clap_complete = "4.6.2"
|
||||||
clap_complete_nushell = "4.5.10"
|
clap_complete_nushell = "4.6.0"
|
||||||
directories = "6.0.0"
|
directories = "6.0.0"
|
||||||
drm-ffi = "0.9.1"
|
drm-ffi = "0.9.1"
|
||||||
fastrand = "2.3.0"
|
fastrand = "2.4.1"
|
||||||
futures-util = { version = "0.3.32", default-features = false, features = ["std", "io"] }
|
futures-util = { version = "0.3.32", default-features = false, features = ["std", "io"] }
|
||||||
git-version = "0.3.9"
|
git-version = "0.3.9"
|
||||||
glam = "0.32.1"
|
glam = "0.32.1"
|
||||||
input = { version = "0.10.0", features = ["libinput_1_21"] }
|
input = { version = "0.10.0", features = ["libinput_1_21"] }
|
||||||
keyframe = { version = "1.1.1", default-features = false }
|
keyframe = { version = "1.1.1", default-features = false }
|
||||||
libc = "0.2.182"
|
libc = "0.2.185"
|
||||||
libdisplay-info = "0.3.0"
|
libdisplay-info = "0.3.0"
|
||||||
log = { version = "0.4.29", 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.3.0"
|
||||||
pango = { version = "0.21.5", features = ["v1_44"] }
|
pango = { version = "0.21.5", features = ["v1_44"] }
|
||||||
pangocairo = "0.21.5"
|
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.1"
|
png = "0.18.1"
|
||||||
profiling = "1.0.17"
|
profiling = "1.0.17"
|
||||||
sd-notify = "0.4.5"
|
sd-notify = "0.5.0"
|
||||||
serde.workspace = true
|
serde.workspace = true
|
||||||
serde_json.workspace = true
|
serde_json.workspace = true
|
||||||
smithay-drm-extras.workspace = true
|
smithay-drm-extras.workspace = true
|
||||||
@@ -122,14 +122,14 @@ 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.10.0"
|
proptest = "1.11.0"
|
||||||
proptest-derive = { version = "0.8.0", features = ["boxed_union"] }
|
proptest-derive = { version = "0.8.0", features = ["boxed_union"] }
|
||||||
rayon = "1.11.0"
|
rayon = "1.12.0"
|
||||||
wayland-client = "0.31.13"
|
wayland-client = "0.31.14"
|
||||||
xshell = "0.2.7"
|
xshell = "0.2.7"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
pkg-config = "0.3.32"
|
pkg-config = "0.3.33"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["dbus", "systemd", "xdp-gnome-screencast"]
|
default = ["dbus", "systemd", "xdp-gnome-screencast"]
|
||||||
|
|||||||
+1
-1
@@ -235,7 +235,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||||||
|
|
||||||
if env::var_os("NIRI_DISABLE_SYSTEM_MANAGER_NOTIFY").is_none_or(|x| x != "1") {
|
if env::var_os("NIRI_DISABLE_SYSTEM_MANAGER_NOTIFY").is_none_or(|x| x != "1") {
|
||||||
// Notify systemd we're ready.
|
// Notify systemd we're ready.
|
||||||
if let Err(err) = sd_notify::notify(true, &[NotifyState::Ready]) {
|
if let Err(err) = sd_notify::notify(&[NotifyState::Ready]) {
|
||||||
warn!("error notifying systemd: {err:?}");
|
warn!("error notifying systemd: {err:?}");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -127,6 +127,9 @@ fn spawn_sync(
|
|||||||
process.env_remove("RUST_LIB_BACKTRACE");
|
process.env_remove("RUST_LIB_BACKTRACE");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Remove the systemd NOTIFY_SOCKET variable.
|
||||||
|
process.env_remove("NOTIFY_SOCKET");
|
||||||
|
|
||||||
// Set DISPLAY if needed.
|
// Set DISPLAY if needed.
|
||||||
let display = CHILD_DISPLAY.read().unwrap();
|
let display = CHILD_DISPLAY.read().unwrap();
|
||||||
if let Some(display) = &*display {
|
if let Some(display) = &*display {
|
||||||
|
|||||||
Reference in New Issue
Block a user