zbus-2.0.0-beta.4
·
4362 commits
to main
since this release
- Allow external executors.
MessageStreamnow the main API to receive messages on the low-level and ensures that no two instances can steal messages from each other.- Introducing
ProxyBuilder, that allows building proxies with various options, whilenewmethods on proxy types take care of creating the with sane defaults. - Generalize
ObjectServer::{at,remove}path errors. - All low-level message receiving API now deals with
Arc<Message>, instead ofMessage. - Switch from
Error: From<E>toE: Into<Error>. - Drop lifetimes from
MessageSink. - Fix lifetime of
SignalStreamreturned byazync::Proxy::receive_signal. - Don't use
block_oninDrop::dropimplementations. azync::Proxy::newnow async.- Drop now unnecessary
receive_specificmethods. - Re-export
static_assertionscrate. This is mainly needed for use byzbus_macros. Message::primary_headernow infallible.- Implement
CloneforPrimaryHeader. Message::disown_fdsnow takes a non-mutable reference.- Disown FDs in
Proxy::callinstead ofProxy::call_method. - Tie internal executor thread to
Connection's lifetime so we don't end up launching thousands of threads. - Handle error from thread spawning.
azync::Connection::assign_serial_numnow synchronous.- Fix auth/handshake for *BSD.
- Dependency changes:
- New:
async-channelasync-broadcastasync-executorasync-task
- Dropped:
event-listener
- Upgraded:
futures-corefutures-sinknixrand
- New:
- Many other fixes and improvements.