Update to zbus 5.x
https://github.com/dbus2/zbus/releases/tag/zbus-5.0.0 Now requires `pub` on uses of `#[proxy]` if the generated types should be `pub`.
This commit is contained in:
parent
ac5713df52
commit
3b86984332
26 changed files with 30 additions and 32 deletions
|
|
@ -26,7 +26,7 @@ use zbus::{names::OwnedWellKnownName, proxy};
|
|||
default_service = "com.system76.CosmicSettingsDaemon",
|
||||
default_path = "/com/system76/CosmicSettingsDaemon"
|
||||
)]
|
||||
trait CosmicSettingsDaemon {
|
||||
pub trait CosmicSettingsDaemon {
|
||||
/// DecreaseDisplayBrightness method
|
||||
fn decrease_display_brightness(&self) -> zbus::Result<()>;
|
||||
|
||||
|
|
@ -68,7 +68,7 @@ trait CosmicSettingsDaemon {
|
|||
interface = "com.system76.CosmicSettingsDaemon.Config",
|
||||
default_service = "com.system76.CosmicSettingsDaemon.Config"
|
||||
)]
|
||||
trait Config {
|
||||
pub trait Config {
|
||||
/// Changed signal
|
||||
#[zbus(signal)]
|
||||
async fn changed(&self, id: String, key: String) -> zbus::Result<()>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue