battery: Use upower_dbus instead of including bindings here

This commit is contained in:
Ian Douglas Scott 2024-06-13 15:45:59 -07:00 committed by Ian Douglas Scott
parent df6232090e
commit 4e3eb0a396
6 changed files with 20 additions and 222 deletions

17
Cargo.lock generated
View file

@ -963,6 +963,7 @@ dependencies = [
"tracing-log",
"tracing-subscriber",
"udev",
"upower_dbus",
"zbus 4.2.2",
]
@ -6057,6 +6058,16 @@ version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c"
[[package]]
name = "upower_dbus"
version = "0.3.2"
source = "git+https://github.com/pop-os/dbus-settings-bindings?branch=upower#eb5cd58587db538fee38da45d560dc92631b8f99"
dependencies = [
"serde",
"serde_repr",
"zbus 4.2.2",
]
[[package]]
name = "url"
version = "2.5.0"
@ -6448,7 +6459,7 @@ dependencies = [
"js-sys",
"log",
"naga",
"parking_lot 0.12.3",
"parking_lot 0.11.2",
"profiling",
"raw-window-handle",
"smallvec",
@ -6475,7 +6486,7 @@ dependencies = [
"log",
"naga",
"once_cell",
"parking_lot 0.12.3",
"parking_lot 0.11.2",
"profiling",
"raw-window-handle",
"rustc-hash",
@ -6515,7 +6526,7 @@ dependencies = [
"naga",
"objc",
"once_cell",
"parking_lot 0.12.3",
"parking_lot 0.11.2",
"profiling",
"range-alloc",
"raw-window-handle",