chore: update dependencies
This commit is contained in:
parent
c050545e5c
commit
44ac9a4f3e
3 changed files with 891 additions and 515 deletions
1400
Cargo.lock
generated
1400
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -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 }
|
bluez-zbus = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
|
||||||
url = "2.5.4"
|
url = "2.5.4"
|
||||||
xkb-data = "0.2.1"
|
xkb-data = "0.2.1"
|
||||||
zbus = { version = "4.4.0", default-features = false, features = [
|
zbus = { version = "5.7.1", default-features = false, features = [
|
||||||
"tokio",
|
"tokio",
|
||||||
], optional = true }
|
], optional = true }
|
||||||
zbus_polkit = { version = "4.0.0", optional = true }
|
zbus_polkit = { version = "5.0.0", optional = true }
|
||||||
fontdb = "0.23.0"
|
fontdb = "0.23.0"
|
||||||
fixed_decimal = "0.5.6"
|
fixed_decimal = "0.5.6"
|
||||||
mime = "0.3.17"
|
mime = "0.3.17"
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ use zbus::proxy;
|
||||||
default_path = "/org/freedesktop/UPower/PowerProfiles",
|
default_path = "/org/freedesktop/UPower/PowerProfiles",
|
||||||
assume_defaults = true
|
assume_defaults = true
|
||||||
)]
|
)]
|
||||||
trait PowerProfiles {
|
pub trait PowerProfiles {
|
||||||
fn hold_profile(&self, profile: &str, reason: &str, application_id: &str) -> zbus::Result<u32>;
|
fn hold_profile(&self, profile: &str, reason: &str, application_id: &str) -> zbus::Result<u32>;
|
||||||
|
|
||||||
fn release_profile(&self, cookie: u32) -> zbus::Result<()>;
|
fn release_profile(&self, cookie: u32) -> zbus::Result<()>;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue