home.social

#zbus — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #zbus, aggregated by home.social.

  1. zbus 6.0 is out: a major release of the pure-Rust D-Bus library.

    What's new:
    • zvariant, zvariant_derive and zbus_names are now part of zbus.
    • With `default-features = false`, you get just the wire format and the name types, without any connection code.
    • A connection takes its sockets, timers, tasks and blocking work from one runtime: zruntime by default, Tokio, or your own through `zbus::runtime::traits::Runtime`.
    • zbus builds for WASI.
    • The default dependency tree on Linux went from 66 crates to 32.
    • The proxy and service APIs, tracing and the more exotic transports are cargo features, so you build only what you use.

    What breaks:
    • The blocking API is gone in favour of `zbus::block_on`.
    • `Value` is now `Variant`.
    • GVariant moved to the zgvariant crate.

    `zbus::zvariant` stays as a deprecated alias, so most code keeps compiling, and the upgrade guide walks through every change.

    Release notes: github.com/z-galaxy/zbus/relea
    Upgrade guide: z-galaxy.github.io/zbus/upgrad
    Crate: crates.io/crates/zbus

    #rustlang #dbus #zbus

Share on Mastodon

Enter the server where you have an account.