Update libcosmic, fixing race conditions

This commit is contained in:
Jeremy Soller 2024-04-05 09:45:20 -06:00
parent 1bded07bfd
commit df5564e55a
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
5 changed files with 657 additions and 749 deletions

View file

@ -19,13 +19,15 @@ shlex = "1.2.0"
xdg = "2.5.2"
#TODO: reduce features
tokio = { workspace = true, features = ["full"] }
wayland-client = "0.31.1"
wayland-client = "0.31.2"
# For network status using networkmanager feature
cosmic-dbus-networkmanager = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
cosmic-dbus-networkmanager = { git = "https://github.com/pop-os/dbus-settings-bindings", rev = "3644bc909984842f35adb1057ef6e0a277c1aa6a", optional = true }
# For logind integration using logind feature
logind-zbus = { version = "3.1.2", optional = true }
# Fix zbus compilation by manually adding nix with user feature
nix = { workspace = true, optional = true }
# For power status with upower feature
upower_dbus = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
upower_dbus = { git = "https://github.com/pop-os/dbus-settings-bindings", rev = "3644bc909984842f35adb1057ef6e0a277c1aa6a", optional = true }
# Required for some features
zbus = { workspace = true, optional = true }
@ -38,6 +40,7 @@ default = ["logind", "networkmanager", "upower"]
logind = ["logind-zbus", "zbus"]
networkmanager = ["cosmic-dbus-networkmanager", "zbus"]
upower = ["upower_dbus", "zbus"]
zbus = ["dep:zbus", "nix"]
[workspace]
members = ["daemon"]
@ -45,6 +48,8 @@ members = ["daemon"]
[workspace.dependencies]
env_logger = "0.10.0"
log = "0.4.20"
# Fix zbus compilation by manually adding nix with user feature
nix = { version = "0.26", features = ["user"] }
pwd = "1.4.0"
ron = "0.8"
serde = "1"