battery: Fix zbus dependency specification, and use tokio feature

This commit is contained in:
Ian Douglas Scott 2023-01-05 09:56:00 -08:00
parent b9a2655210
commit 7dbab103a8
2 changed files with 4 additions and 1 deletions

3
Cargo.lock generated
View file

@ -3968,6 +3968,7 @@ dependencies = [
"signal-hook-registry",
"socket2",
"tokio-macros",
"tracing",
"windows-sys 0.42.0",
]
@ -4803,6 +4804,7 @@ dependencies = [
"futures-sink",
"futures-util",
"hex",
"lazy_static",
"nix 0.25.1",
"once_cell",
"ordered-stream",
@ -4811,6 +4813,7 @@ dependencies = [
"serde_repr",
"sha1",
"static_assertions",
"tokio",
"tracing",
"uds_windows",
"winapi",

View file

@ -8,7 +8,7 @@ once_cell = "1.16.0"
libcosmic = { git = "https://github.com/pop-os/libcosmic/", branch = "master", default-features = false, features = ["wayland", "applet"] }
sctk = { package = "smithay-client-toolkit", git = "https://github.com/Smithay/client-toolkit", rev = "3776d4a" }
futures = "0.3"
zbus = { version = "3.5", no-default-features = true }
zbus = { version = "3.5", default-features = false, features = ["tokio"] }
log = "0.4"
pretty_env_logger = "0.4"
# Application i18n