Update libcosmic, fixing race conditions
This commit is contained in:
parent
1bded07bfd
commit
df5564e55a
5 changed files with 657 additions and 749 deletions
11
Cargo.toml
11
Cargo.toml
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue