Skip to content

zbus-3.0.0

Choose a tag to compare

@zeenix zeenix released this 11 May 07:58
· 3292 commits to main since this release
  • Tighter tokio integration that allows you to make full use of tokio APIs and disable a bunch of dependencies, when tokio feature is enabled.
  • Special support for GDBus on Windows.
  • Explicitly require needed Rust version in the Cargo.toml file.
  • Socket changes:
    • Drop as_raw_fd method and hence the requirement for implementations to be backed by FD/handles.
    • Add optional uid method to allow implementations to fetch the UID and hence be able to use EXTERNAL auth.
    • Add optional send_zero_byte method for freebsd & dragonfly platforms. Same reason as above.
  • Don't try to get unix socket credentials from TCP sockets.
  • OwnerChangedStream now implements Send + Sync + Unpin.
  • Only spawn tasks for handing messages that are method calls.
  • Add more tracing and debug logging.
  • Dependencies bumped:
    • nix 0.24.1.
    • zbus_names 2.2.
    • zvariant 3.6.0.
  • Dependencies made optional:
    • async-exector
    • async-task
    • async-lock
    • async-channel
    • lazy_static
  • Many other fixes and improvements.