chore: update dependencies

This commit is contained in:
Alexander Bachmann 2025-05-25 12:07:14 +02:00 committed by Michael Murphy
parent c050545e5c
commit 44ac9a4f3e
3 changed files with 891 additions and 515 deletions

1400
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -74,10 +74,10 @@ upower_dbus = { git = "https://github.com/pop-os/dbus-settings-bindings", option
bluez-zbus = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
url = "2.5.4"
xkb-data = "0.2.1"
zbus = { version = "4.4.0", default-features = false, features = [
zbus = { version = "5.7.1", default-features = false, features = [
"tokio",
], optional = true }
zbus_polkit = { version = "4.0.0", optional = true }
zbus_polkit = { version = "5.0.0", optional = true }
fontdb = "0.23.0"
fixed_decimal = "0.5.6"
mime = "0.3.17"

View file

@ -5,7 +5,7 @@ use zbus::proxy;
default_path = "/org/freedesktop/UPower/PowerProfiles",
assume_defaults = true
)]
trait PowerProfiles {
pub trait PowerProfiles {
fn hold_profile(&self, profile: &str, reason: &str, application_id: &str) -> zbus::Result<u32>;
fn release_profile(&self, cookie: u32) -> zbus::Result<()>;