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:
Ian Douglas Scott 2024-10-28 14:22:30 -07:00 committed by Michael Murphy
parent ac5713df52
commit 3b86984332
26 changed files with 30 additions and 32 deletions

View file

@ -9,7 +9,7 @@ categories = ["os::linux-apis"]
keywords = ["dbus", "hostname", "hostname1", "zbus", "freedesktop"]
[dependencies]
zbus = "4.2.1"
zbus.workspace = true
[dev-dependencies]
pico-args = "0.5.0"

View file

@ -26,7 +26,7 @@ use zbus::proxy;
default_service = "org.freedesktop.hostname1",
default_path = "/org/freedesktop/hostname1"
)]
trait Hostname1 {
pub trait Hostname1 {
/// Describe method
fn describe(&self) -> zbus::Result<String>;