11 releases

✓ Uses Rust 2018 edition

new 0.3.6 Mar 25, 2020
0.3.5 Feb 21, 2020
0.3.3 Jan 29, 2020
0.3.0 Dec 20, 2019
0.0.0 Aug 22, 2017

#523 in Network programming

Download history 12/week @ 2019-11-30 27/week @ 2019-12-07 5/week @ 2019-12-14 8/week @ 2019-12-21 6/week @ 2019-12-28 6/week @ 2020-01-04 58/week @ 2020-01-11 52/week @ 2020-01-18 25/week @ 2020-01-25 11/week @ 2020-02-01 54/week @ 2020-02-08 70/week @ 2020-02-15 57/week @ 2020-02-22 18/week @ 2020-02-29 34/week @ 2020-03-07 16/week @ 2020-03-14

149 downloads per month
Used in 5 crates (2 directly)

MIT license

78KB
1.5K SLoC

Crates.io Documentation Build Status Dependency status

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 implements Sink<SinkItem = Request> and Stream<Item = Response>.
  • client wrappers that implement tower::Service for transports that implement Sink<SinkItem = Request> and Stream<Item = Response>.

Take a look at the crate documentation for details.

Dependencies

~4MB
~69K SLoC