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

#371 in Asynchronous

Download history 7104/week @ 2023-12-07 7707/week @ 2023-12-14 3767/week @ 2023-12-21 3227/week @ 2023-12-28 6448/week @ 2024-01-04 5829/week @ 2024-01-11 6958/week @ 2024-01-18 7058/week @ 2024-01-25 8227/week @ 2024-02-01 11128/week @ 2024-02-08 10581/week @ 2024-02-15 12188/week @ 2024-02-22 10532/week @ 2024-02-29 11813/week @ 2024-03-07 12168/week @ 2024-03-14 10247/week @ 2024-03-21

46,910 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

~3.5–5.5MB
~92K SLoC