update power applet to use latest zbus
This commit is contained in:
parent
4b5cc64e30
commit
cbbd350fc6
2 changed files with 17 additions and 107 deletions
112
Cargo.lock
generated
112
Cargo.lock
generated
|
|
@ -551,7 +551,7 @@ dependencies = [
|
||||||
"rust-embed",
|
"rust-embed",
|
||||||
"smithay-client-toolkit",
|
"smithay-client-toolkit",
|
||||||
"tokio",
|
"tokio",
|
||||||
"zbus 3.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"zbus",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
@ -560,7 +560,7 @@ version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"libcosmic",
|
"libcosmic",
|
||||||
"smithay-client-toolkit",
|
"smithay-client-toolkit",
|
||||||
"zbus 3.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"zbus",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
@ -582,7 +582,7 @@ dependencies = [
|
||||||
"slotmap",
|
"slotmap",
|
||||||
"smithay-client-toolkit",
|
"smithay-client-toolkit",
|
||||||
"tokio",
|
"tokio",
|
||||||
"zbus 3.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"zbus",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
@ -606,7 +606,7 @@ dependencies = [
|
||||||
"nix 0.26.1",
|
"nix 0.26.1",
|
||||||
"smithay-client-toolkit",
|
"smithay-client-toolkit",
|
||||||
"tokio",
|
"tokio",
|
||||||
"zbus 3.7.0 (git+https://gitlab.freedesktop.org/dbus/zbus?branch=main)",
|
"zbus",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
@ -662,8 +662,8 @@ dependencies = [
|
||||||
"derive_builder",
|
"derive_builder",
|
||||||
"procfs",
|
"procfs",
|
||||||
"time 0.3.17",
|
"time 0.3.17",
|
||||||
"zbus 3.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"zbus",
|
||||||
"zvariant 3.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"zvariant",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
@ -2477,11 +2477,12 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "logind-zbus"
|
name = "logind-zbus"
|
||||||
version = "3.0.3"
|
version = "3.1.0"
|
||||||
source = "git+https://github.com/pop-os/logind-zbus?branch=main#0789bde15b61b3f65b1e028841eeb5411f66f474"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "3f2cfc54565c8d002ad7344ec08ce512c269b2de56dea59850708691e4b18fe3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"serde",
|
"serde",
|
||||||
"zbus 3.7.0 (git+https://gitlab.freedesktop.org/dbus/zbus?branch=main)",
|
"zbus",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
@ -4874,46 +4875,9 @@ dependencies = [
|
||||||
"tracing",
|
"tracing",
|
||||||
"uds_windows",
|
"uds_windows",
|
||||||
"winapi",
|
"winapi",
|
||||||
"zbus_macros 3.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"zbus_macros",
|
||||||
"zbus_names 2.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"zbus_names",
|
||||||
"zvariant 3.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"zvariant",
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "zbus"
|
|
||||||
version = "3.7.0"
|
|
||||||
source = "git+https://gitlab.freedesktop.org/dbus/zbus?branch=main#18240526a612e56e9379f64d42c07053eed9657e"
|
|
||||||
dependencies = [
|
|
||||||
"async-broadcast",
|
|
||||||
"async-executor",
|
|
||||||
"async-io",
|
|
||||||
"async-lock",
|
|
||||||
"async-recursion",
|
|
||||||
"async-task",
|
|
||||||
"async-trait",
|
|
||||||
"byteorder",
|
|
||||||
"derivative",
|
|
||||||
"dirs 4.0.0",
|
|
||||||
"enumflags2",
|
|
||||||
"event-listener",
|
|
||||||
"futures-core",
|
|
||||||
"futures-sink",
|
|
||||||
"futures-util",
|
|
||||||
"hex",
|
|
||||||
"nix 0.25.1",
|
|
||||||
"once_cell",
|
|
||||||
"ordered-stream",
|
|
||||||
"rand",
|
|
||||||
"serde",
|
|
||||||
"serde_repr",
|
|
||||||
"sha1",
|
|
||||||
"static_assertions",
|
|
||||||
"tracing",
|
|
||||||
"uds_windows",
|
|
||||||
"winapi",
|
|
||||||
"zbus_macros 3.7.0 (git+https://gitlab.freedesktop.org/dbus/zbus?branch=main)",
|
|
||||||
"zbus_names 2.5.0 (git+https://gitlab.freedesktop.org/dbus/zbus?branch=main)",
|
|
||||||
"zvariant 3.10.0 (git+https://gitlab.freedesktop.org/dbus/zbus?branch=main)",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
@ -4929,18 +4893,6 @@ dependencies = [
|
||||||
"syn",
|
"syn",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "zbus_macros"
|
|
||||||
version = "3.7.0"
|
|
||||||
source = "git+https://gitlab.freedesktop.org/dbus/zbus?branch=main#18240526a612e56e9379f64d42c07053eed9657e"
|
|
||||||
dependencies = [
|
|
||||||
"proc-macro-crate",
|
|
||||||
"proc-macro2",
|
|
||||||
"quote",
|
|
||||||
"regex",
|
|
||||||
"syn",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "zbus_names"
|
name = "zbus_names"
|
||||||
version = "2.5.0"
|
version = "2.5.0"
|
||||||
|
|
@ -4949,17 +4901,7 @@ checksum = "f34f314916bd89bdb9934154627fab152f4f28acdda03e7c4c68181b214fe7e3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"serde",
|
"serde",
|
||||||
"static_assertions",
|
"static_assertions",
|
||||||
"zvariant 3.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"zvariant",
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "zbus_names"
|
|
||||||
version = "2.5.0"
|
|
||||||
source = "git+https://gitlab.freedesktop.org/dbus/zbus?branch=main#18240526a612e56e9379f64d42c07053eed9657e"
|
|
||||||
dependencies = [
|
|
||||||
"serde",
|
|
||||||
"static_assertions",
|
|
||||||
"zvariant 3.10.0 (git+https://gitlab.freedesktop.org/dbus/zbus?branch=main)",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
@ -4979,20 +4921,7 @@ dependencies = [
|
||||||
"libc",
|
"libc",
|
||||||
"serde",
|
"serde",
|
||||||
"static_assertions",
|
"static_assertions",
|
||||||
"zvariant_derive 3.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"zvariant_derive",
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "zvariant"
|
|
||||||
version = "3.10.0"
|
|
||||||
source = "git+https://gitlab.freedesktop.org/dbus/zbus?branch=main#18240526a612e56e9379f64d42c07053eed9657e"
|
|
||||||
dependencies = [
|
|
||||||
"byteorder",
|
|
||||||
"enumflags2",
|
|
||||||
"libc",
|
|
||||||
"serde",
|
|
||||||
"static_assertions",
|
|
||||||
"zvariant_derive 3.10.0 (git+https://gitlab.freedesktop.org/dbus/zbus?branch=main)",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
@ -5006,14 +4935,3 @@ dependencies = [
|
||||||
"quote",
|
"quote",
|
||||||
"syn",
|
"syn",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "zvariant_derive"
|
|
||||||
version = "3.10.0"
|
|
||||||
source = "git+https://gitlab.freedesktop.org/dbus/zbus?branch=main#18240526a612e56e9379f64d42c07053eed9657e"
|
|
||||||
dependencies = [
|
|
||||||
"proc-macro-crate",
|
|
||||||
"proc-macro2",
|
|
||||||
"quote",
|
|
||||||
"syn",
|
|
||||||
]
|
|
||||||
|
|
|
||||||
|
|
@ -12,13 +12,5 @@ tokio = { version = "1.20.1", features=["full"] }
|
||||||
libcosmic = { git = "https://github.com/pop-os/libcosmic/", branch = "master", default-features = false, features = ["wayland", "applet"] }
|
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" }
|
sctk = { package = "smithay-client-toolkit", git = "https://github.com/Smithay/client-toolkit", rev = "3776d4a" }
|
||||||
nix = "0.26.1"
|
nix = "0.26.1"
|
||||||
|
zbus = "3.7"
|
||||||
# Until the 3.6.3 release, need the implementation of clone on zbus::Error
|
logind-zbus = "3.1"
|
||||||
[dependencies.zbus]
|
|
||||||
git = "https://gitlab.freedesktop.org/dbus/zbus"
|
|
||||||
branch = "main"
|
|
||||||
|
|
||||||
# Until zbus 3.6.3 is released
|
|
||||||
[dependencies.logind-zbus]
|
|
||||||
git = "https://github.com/pop-os/logind-zbus"
|
|
||||||
branch = "main"
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue