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

#682 in Asynchronous

Download history 14232/week @ 2024-06-16 13352/week @ 2024-06-23 11714/week @ 2024-06-30 13908/week @ 2024-07-07 13494/week @ 2024-07-14 14593/week @ 2024-07-21 15358/week @ 2024-07-28 15938/week @ 2024-08-04 16513/week @ 2024-08-11 15758/week @ 2024-08-18 17155/week @ 2024-08-25 19524/week @ 2024-09-01 18320/week @ 2024-09-08 17094/week @ 2024-09-15 17501/week @ 2024-09-22 16630/week @ 2024-09-29

70,191 downloads per month
Used in 13 crates (8 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

~4–10MB
~91K SLoC