refactor: improve and fix subscriptions and async logic

This commit is contained in:
Michael Aaron Murphy 2025-04-10 13:03:53 +02:00 committed by Ashley Wulber
parent 2d2543094e
commit 0600931abf
9 changed files with 290 additions and 269 deletions

View file

@ -13,7 +13,7 @@ cosmic-comp-config.workspace = true
cosmic-config = { workspace = true, features = ["calloop", "macro"] }
cosmic-greeter-config.workspace = true
cosmic-greeter-daemon = { path = "daemon" }
dirs = "5"
dirs = "6"
env_logger.workspace = true
freedesktop_entry_parser = "1.3.0"
libcosmic = { workspace = true, features = [
@ -34,7 +34,7 @@ xkb-data = "0.2"
xdg = "2.5.2"
#TODO: reduce features
tokio = { workspace = true, features = ["full"] }
wayland-client = "0.31.5"
wayland-client = "0.31.8"
# For network status using networkmanager feature
cosmic-dbus-networkmanager = { git = "https://github.com/pop-os/dbus-settings-bindings", rev = "badfc6a", optional = true }
# For logind integration using logind feature
@ -81,7 +81,7 @@ members = ["cosmic-greeter-config", "daemon"]
resolver = "2"
[workspace.package]
rust-version = "1.79.0"
rust-version = "1.85.0"
[workspace.dependencies]
env_logger = "0.10.2"
@ -89,7 +89,7 @@ log = "0.4.22"
# Fix zbus compilation by manually adding nix with user feature
nix = { version = "0.29", features = ["user"] }
pwd = "1.4.0"
ron = "0.8"
ron = "0.10.1"
serde = "1"
tokio = "1.39.1"
zbus = "4"