mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 09:23:19 +01:00
Update dependencies
This commit is contained in:
@@ -6,12 +6,11 @@ edition = "2021"
|
||||
|
||||
[features]
|
||||
default = ["dbus"]
|
||||
dbus = ["zvariant", "zvariant_derive"]
|
||||
dbus = ["zbus"]
|
||||
|
||||
[dependencies]
|
||||
udev.workspace = true
|
||||
serde.workspace = true
|
||||
serde_derive.workspace = true
|
||||
|
||||
zvariant = { workspace = true, optional = true }
|
||||
zvariant_derive = { workspace = true, optional = true }
|
||||
zbus = { workspace = true, optional = true }
|
||||
@@ -2,7 +2,7 @@ use serde_derive::{Deserialize, Serialize};
|
||||
|
||||
use udev::Device;
|
||||
#[cfg(feature = "dbus")]
|
||||
use zvariant_derive::Type;
|
||||
use zbus::zvariant::Type;
|
||||
|
||||
use crate::{error::ProfileError, FanCurvePU};
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ use serde_derive::{Deserialize, Serialize};
|
||||
|
||||
use udev::Device;
|
||||
#[cfg(feature = "dbus")]
|
||||
use zvariant_derive::Type;
|
||||
use zbus::zvariant::Type;
|
||||
|
||||
pub const PLATFORM_PROFILE: &str = "/sys/firmware/acpi/platform_profile";
|
||||
pub const PLATFORM_PROFILES: &str = "/sys/firmware/acpi/platform_profile_choices";
|
||||
|
||||
Reference in New Issue
Block a user