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
|
|
@ -30,7 +30,7 @@ use crate::{UserProxy, UserProxyBlocking};
|
|||
default_service = "org.freedesktop.Accounts",
|
||||
default_path = "/org/freedesktop/Accounts"
|
||||
)]
|
||||
trait Accounts {
|
||||
pub trait Accounts {
|
||||
/// CacheUser method
|
||||
fn cache_user(&self, name: &str) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ use zbus::proxy;
|
|||
default_service = "org.freedesktop.Accounts",
|
||||
// default_path = "/org/freedesktop/Accounts/User1000"
|
||||
)]
|
||||
trait User {
|
||||
pub trait User {
|
||||
/// GetPasswordExpirationPolicy method
|
||||
fn get_password_expiration_policy(&self) -> zbus::Result<(i64, i64, i64, i64, i64, i64)>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue