zbus-2.0.0-beta
This is the beta of our upcoming API-breaking 2.0 release.
azync::ConnectionAPI now almost identical to that of synchronousConnection. It:- no longer exposes transport mechanism to user as most users don't care about that.
- provides separate
StreamandSinkimplementation types. - uses internal mutability.
- Implements
Clonetrait. - Provides
is_busandas_raw_fdmethods.
- Because of the above,
Connectionis now just a thin blocking wrapper aroundazync::Connection, which will make implementation of high-level async API in the near future, much easier. - Drop
azync::ConnectionType. rawandhandshakemodules now internal. Useazync::Connectionif you need to an asynchronous way of creating the connection.- Drop all deprecated API.
- Default message handler API of
Connection. - Errors that are no longer returned by zbus API.
- Default message handler API of
- Drop unneeded lifetime specifiers on
ObjectServer. - Allow reading and writing to the same connection from different threads/tasks at the same time. Previously this would deadlock.
- Add
gvariantfeature to enable/disablegvariantsupport ofgvariant. - Fix some links in the docs.
- Add dep on
async-lock. - Replace
futures-executordep withpollster. - Disable unneeded default features of
futures-utilcrate. - Drop
futures-channel,nb-connectandpollingdependencies. - Use latest nix release (0.19.0).