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::proxy;
|
|||
interface = "org.freedesktop.NetworkManager.AccessPoint",
|
||||
default_service = "org.freedesktop.NetworkManager"
|
||||
)]
|
||||
trait AccessPoint {
|
||||
pub trait AccessPoint {
|
||||
/// Flags property
|
||||
#[zbus(property)]
|
||||
fn flags(&self) -> zbus::Result<u32>;
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ use zbus::proxy;
|
|||
interface = "org.freedesktop.NetworkManager.Device.Wired",
|
||||
default_service = "org.freedesktop.NetworkManager"
|
||||
)]
|
||||
trait WiredDevice {
|
||||
pub trait WiredDevice {
|
||||
/// Carrier property
|
||||
#[zbus(property)]
|
||||
fn carrier(&self) -> zbus::Result<bool>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue