Skip to content

Drive! Drive! Derive!

Compare
Choose a tag to compare
@asonix asonix released this 05 Jan 23:50

This release sees no noticeable changes to the API (unless you really cared about the ControlledStreamSocket having an H: ControlHandler type, because now that's specified in the call to .stream()), although some of the re-exports were moved around. If you were manually importing *Controlled sockets, you'll now need to get them from tokio_zmq::socket::types.

We derive the traits in tokio_zmq::prelude for all the types in tokio_zmq::socket::types now, and the derivation code is nested within this crate as the tokio-zmq-derive crate. I should probably add a readme and documentation for that, but it shouldn't be used outside the context of tokio-zmq.

tokio-zmq on crates.io
tokio-zmq on docs.rs