mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 09:23:19 +01:00
Feat: update dependencies
This commit is contained in:
553
Cargo.lock
generated
553
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -44,7 +44,7 @@ smol = "^2.0"
|
|||||||
mio = "0.8.11"
|
mio = "0.8.11"
|
||||||
|
|
||||||
futures-util = "0.3.31"
|
futures-util = "0.3.31"
|
||||||
zbus = "5.5.0"
|
zbus = "5.13.1"
|
||||||
logind-zbus = { version = "5.2.0" } #, default-features = false, features = ["non_blocking"] }
|
logind-zbus = { version = "5.2.0" } #, default-features = false, features = ["non_blocking"] }
|
||||||
|
|
||||||
serde = { version = "^1.0", features = ["serde_derive"] }
|
serde = { version = "^1.0", features = ["serde_derive"] }
|
||||||
|
|||||||
@@ -359,6 +359,12 @@ impl From<AuraEffect> for AuraModeNum {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "dbus")]
|
||||||
|
impl zbus::zvariant::Basic for AuraModeNum {
|
||||||
|
const SIGNATURE_CHAR: char = 'u';
|
||||||
|
const SIGNATURE_STR: &'static str = "u";
|
||||||
|
}
|
||||||
|
|
||||||
/// Base effects have no zoning, while multizone is 1-4
|
/// Base effects have no zoning, while multizone is 1-4
|
||||||
#[cfg_attr(
|
#[cfg_attr(
|
||||||
feature = "dbus",
|
feature = "dbus",
|
||||||
|
|||||||
@@ -177,6 +177,12 @@ pub enum AuraMode {
|
|||||||
DoubleFade = 14,
|
DoubleFade = 14,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "dbus")]
|
||||||
|
impl zbus::zvariant::Basic for AuraMode {
|
||||||
|
const SIGNATURE_CHAR: char = 'u';
|
||||||
|
const SIGNATURE_STR: &'static str = "u";
|
||||||
|
}
|
||||||
|
|
||||||
impl AuraMode {
|
impl AuraMode {
|
||||||
pub fn list() -> [String; 15] {
|
pub fn list() -> [String; 15] {
|
||||||
[
|
[
|
||||||
|
|||||||
Reference in New Issue
Block a user