Update deps

This commit is contained in:
Luke D. Jones
2024-11-28 16:28:20 +13:00
parent 71fcb382ea
commit e7c4619ee9
21 changed files with 1258 additions and 891 deletions

View File

@@ -7,7 +7,7 @@ use zbus::proxy;
default_service = "org.asuslinux.Daemon",
default_path = "/org/asuslinux"
)]
trait Anime {
pub trait Anime {
/// DeviceState method
fn device_state(&self) -> zbus::Result<AnimeDeviceState>;

View File

@@ -34,7 +34,7 @@ const BLOCKING_TIME: u64 = 33; // 100ms = 10 FPS, max 50ms = 20 FPS, 40ms = 25 F
default_service = "org.asuslinux.Daemon",
default_path = "/org/asuslinux/Aura"
)]
trait Aura {
pub trait Aura {
/// AllModeData method
fn all_mode_data(&self) -> zbus::Result<BTreeMap<AuraModeNum, AuraEffect>>;

View File

@@ -30,7 +30,7 @@ use zbus::proxy;
default_service = "org.asuslinux.Daemon",
default_path = "/org/asuslinux"
)]
trait FanCurves {
pub trait FanCurves {
/// Get the fan-curve data for the currently active PlatformProfile
fn fan_curve_data(&self, profile: ThrottlePolicy) -> zbus::Result<Vec<CurveData>>;

View File

@@ -29,7 +29,7 @@ use zbus::proxy;
default_service = "org.asuslinux.Daemon",
default_path = "/org/asuslinux"
)]
trait Platform {
pub trait Platform {
#[zbus(property)]
fn version(&self) -> zbus::Result<String>;

View File

@@ -6,7 +6,7 @@ use zbus::proxy;
default_service = "org.asuslinux.Daemon",
default_path = "/org/asuslinux"
)]
trait Slash {
pub trait Slash {
/// EnableDisplay property
#[zbus(property)]
fn enabled(&self) -> zbus::Result<bool>;