This crate provides convenient wrappers to make Tokio and Tower work together. In particular, it provides:
- server bindings wrappers that combine a
tower::Service
with a transport that implementsSink<SinkItem = Request>
andStream<Item = Response>
. - client wrappers that implement
tower::Service
for transports that implementSink<SinkItem = Request>
andStream<Item = Response>
.
Take a look at the crate documentation for details.