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

#419 in Asynchronous

Download history 14438/week @ 2024-07-23 16318/week @ 2024-07-30 15194/week @ 2024-08-06 17034/week @ 2024-08-13 15374/week @ 2024-08-20 17864/week @ 2024-08-27 19692/week @ 2024-09-03 18202/week @ 2024-09-10 16829/week @ 2024-09-17 17272/week @ 2024-09-24 15917/week @ 2024-10-01 10684/week @ 2024-10-08 19418/week @ 2024-10-15 20624/week @ 2024-10-22 19833/week @ 2024-10-29 17267/week @ 2024-11-05

79,876 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
~91K SLoC