19 releases

0.7.0-rc4 Mar 14, 2023
0.7.0-rc3 Sep 7, 2022
0.7.0-rc2 Apr 11, 2022
0.6.0 Aug 20, 2021
0.0.0 Aug 22, 2017

#427 in Asynchronous

Download history 15811/week @ 2024-08-05 16850/week @ 2024-08-12 15416/week @ 2024-08-19 17271/week @ 2024-08-26 19489/week @ 2024-09-02 18373/week @ 2024-09-09 16944/week @ 2024-09-16 17609/week @ 2024-09-23 17181/week @ 2024-09-30 9809/week @ 2024-10-07 17792/week @ 2024-10-14 20972/week @ 2024-10-21 20021/week @ 2024-10-28 18325/week @ 2024-11-04 16678/week @ 2024-11-11 22575/week @ 2024-11-18

77,925 downloads per month
Used in 16 crates (10 directly)

MIT license

82KB
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

~3.5–9.5MB
~90K SLoC