Cargo.toml: Update to zbus 5

This commit is contained in:
Vicki Pfau 2024-11-07 17:20:57 -08:00
parent bdb2d26e2f
commit a2af4d1bc5
29 changed files with 100 additions and 385 deletions

View file

@ -1,6 +1,6 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.AmbientLightSensor1`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! This code was generated by `zbus-xmlgen` `5.0.1` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
@ -18,7 +18,7 @@ use zbus::proxy;
default_path = "/com/steampowered/SteamOSManager1",
assume_defaults = true
)]
trait AmbientLightSensor1 {
pub trait AmbientLightSensor1 {
/// AlsCalibrationGain property
#[zbus(property)]
fn als_calibration_gain(&self) -> zbus::Result<Vec<f64>>;

View file

@ -1,6 +1,6 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.CpuScaling1`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! This code was generated by `zbus-xmlgen` `5.0.1` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
@ -18,7 +18,7 @@ use zbus::proxy;
default_path = "/com/steampowered/SteamOSManager1",
assume_defaults = true
)]
trait CpuScaling1 {
pub trait CpuScaling1 {
/// AvailableCpuScalingGovernors property
#[zbus(property)]
fn available_cpu_scaling_governors(&self) -> zbus::Result<Vec<String>>;

View file

@ -1,6 +1,6 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.FactoryReset1`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! This code was generated by `zbus-xmlgen` `5.0.1` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
@ -18,7 +18,7 @@ use zbus::proxy;
default_path = "/com/steampowered/SteamOSManager1",
assume_defaults = true
)]
trait FactoryReset1 {
pub trait FactoryReset1 {
/// PrepareFactoryReset method
fn prepare_factory_reset(&self, kind: u32) -> zbus::Result<u32>;
}

View file

@ -1,6 +1,6 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.FanControl1`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! This code was generated by `zbus-xmlgen` `5.0.1` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
@ -18,7 +18,7 @@ use zbus::proxy;
default_path = "/com/steampowered/SteamOSManager1",
assume_defaults = true
)]
trait FanControl1 {
pub trait FanControl1 {
/// FanControlState property
#[zbus(property)]
fn fan_control_state(&self) -> zbus::Result<u32>;

View file

@ -1,6 +1,6 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.GpuPerformanceLevel1`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! This code was generated by `zbus-xmlgen` `5.0.1` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
@ -18,7 +18,7 @@ use zbus::proxy;
default_path = "/com/steampowered/SteamOSManager1",
assume_defaults = true
)]
trait GpuPerformanceLevel1 {
pub trait GpuPerformanceLevel1 {
/// AvailableGpuPerformanceLevels property
#[zbus(property)]
fn available_gpu_performance_levels(&self) -> zbus::Result<Vec<String>>;

View file

@ -1,6 +1,6 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.GpuPowerProfile1`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! This code was generated by `zbus-xmlgen` `5.0.1` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
@ -18,7 +18,7 @@ use zbus::proxy;
default_path = "/com/steampowered/SteamOSManager1",
assume_defaults = true
)]
trait GpuPowerProfile1 {
pub trait GpuPowerProfile1 {
/// AvailableGpuPowerProfiles property
#[zbus(property)]
fn available_gpu_power_profiles(&self) -> zbus::Result<Vec<String>>;

View file

@ -1,6 +1,6 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.HdmiCec1`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! This code was generated by `zbus-xmlgen` `5.0.1` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
@ -18,7 +18,7 @@ use zbus::proxy;
default_path = "/com/steampowered/SteamOSManager1",
assume_defaults = true
)]
trait HdmiCec1 {
pub trait HdmiCec1 {
/// HdmiCecState property
#[zbus(property)]
fn hdmi_cec_state(&self) -> zbus::Result<u32>;

View file

@ -1,6 +1,6 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.Job1`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! This code was generated by `zbus-xmlgen` `5.0.1` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
@ -17,7 +17,7 @@ use zbus::proxy;
default_service = "com.steampowered.SteamOSManager1",
assume_defaults = true
)]
trait Job1 {
pub trait Job1 {
/// Cancel method
fn cancel(&self, force: bool) -> zbus::Result<()>;

View file

@ -1,6 +1,6 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.JobManager1`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! This code was generated by `zbus-xmlgen` `5.0.1` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
@ -18,7 +18,7 @@ use zbus::proxy;
default_path = "/com/steampowered/SteamOSManager1/Jobs",
assume_defaults = true
)]
trait JobManager1 {
pub trait JobManager1 {
/// JobStarted signal
#[zbus(signal)]
fn job_started(&self, job: zbus::zvariant::ObjectPath<'_>) -> zbus::Result<()>;

View file

@ -1,6 +1,6 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.Manager`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! This code was generated by `zbus-xmlgen` `5.0.1` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.Manager.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
@ -18,7 +18,7 @@ use zbus::proxy;
default_path = "/com/steampowered/SteamOSManager1",
assume_defaults = true
)]
trait Manager {
pub trait Manager {
/// SetWifiDebugMode method
fn set_wifi_debug_mode(&self, mode: u32, buffer_size: u32) -> zbus::Result<()>;

View file

@ -1,6 +1,6 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.Manager2`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! This code was generated by `zbus-xmlgen` `5.0.1` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
@ -18,7 +18,7 @@ use zbus::proxy;
default_path = "/com/steampowered/SteamOSManager1",
assume_defaults = true
)]
trait Manager2 {
pub trait Manager2 {
/// ReloadConfig method
fn reload_config(&self) -> zbus::Result<()>;

View file

@ -1,6 +1,6 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.Storage1`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! This code was generated by `zbus-xmlgen` `5.0.1` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
@ -18,7 +18,7 @@ use zbus::proxy;
default_path = "/com/steampowered/SteamOSManager1",
assume_defaults = true
)]
trait Storage1 {
pub trait Storage1 {
/// FormatDevice method
fn format_device(
&self,

View file

@ -1,6 +1,6 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.TdpLimit1`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! This code was generated by `zbus-xmlgen` `5.0.1` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
@ -18,7 +18,7 @@ use zbus::proxy;
default_path = "/com/steampowered/SteamOSManager1",
assume_defaults = true
)]
trait TdpLimit1 {
pub trait TdpLimit1 {
/// TdpLimit property
#[zbus(property)]
fn tdp_limit(&self) -> zbus::Result<u32>;

View file

@ -1,6 +1,6 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.UdevEvents1`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! This code was generated by `zbus-xmlgen` `5.0.1` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
@ -18,7 +18,7 @@ use zbus::proxy;
default_path = "/com/steampowered/SteamOSManager1",
assume_defaults = true
)]
trait UdevEvents1 {
pub trait UdevEvents1 {
/// UsbOverCurrent signal
#[zbus(signal)]
fn usb_over_current(&self, devpath: &str, port: &str, count: u64) -> zbus::Result<()>;

View file

@ -1,6 +1,6 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.UpdateBios1`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! This code was generated by `zbus-xmlgen` `5.0.1` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
@ -18,7 +18,7 @@ use zbus::proxy;
default_path = "/com/steampowered/SteamOSManager1",
assume_defaults = true
)]
trait UpdateBios1 {
pub trait UpdateBios1 {
/// UpdateBios method
fn update_bios(&self) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
}

View file

@ -1,6 +1,6 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.UpdateDock1`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! This code was generated by `zbus-xmlgen` `5.0.1` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
@ -18,7 +18,7 @@ use zbus::proxy;
default_path = "/com/steampowered/SteamOSManager1",
assume_defaults = true
)]
trait UpdateDock1 {
pub trait UpdateDock1 {
/// UpdateDock method
fn update_dock(&self) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
}

View file

@ -1,6 +1,6 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.WifiDebug1`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! This code was generated by `zbus-xmlgen` `5.0.1` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
@ -18,7 +18,7 @@ use zbus::proxy;
default_path = "/com/steampowered/SteamOSManager1",
assume_defaults = true
)]
trait WifiDebug1 {
pub trait WifiDebug1 {
/// SetWifiDebugMode method
fn set_wifi_debug_mode(
&self,

View file

@ -1,6 +1,6 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.WifiPowerManagement1`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! This code was generated by `zbus-xmlgen` `5.0.1` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
@ -18,7 +18,7 @@ use zbus::proxy;
default_path = "/com/steampowered/SteamOSManager1",
assume_defaults = true
)]
trait WifiPowerManagement1 {
pub trait WifiPowerManagement1 {
/// WifiPowerManagementState property
#[zbus(property)]
fn wifi_power_management_state(&self) -> zbus::Result<u32>;