6 releases

0.3.2 Oct 10, 2022
0.3.1 Jan 7, 2021
0.3.0 Nov 29, 2019
0.3.0-alpha.2 Sep 30, 2019
0.1.0 Apr 27, 2019

#2089 in Asynchronous

Download history 774422/week @ 2024-01-31 765218/week @ 2024-02-07 748586/week @ 2024-02-14 798563/week @ 2024-02-21 829141/week @ 2024-02-28 816704/week @ 2024-03-06 830167/week @ 2024-03-13 871993/week @ 2024-03-20 833505/week @ 2024-03-27 908447/week @ 2024-04-03 933951/week @ 2024-04-10 940877/week @ 2024-04-17 977147/week @ 2024-04-24 938272/week @ 2024-05-01 967795/week @ 2024-05-08 836404/week @ 2024-05-15

3,904,251 downloads per month
Used in 4,905 crates (97 directly)

MIT license

22KB
425 lines

Tower Layer

Decorates a Tower Service, transforming either the request or the response.

Crates.io Documentation Documentation (master) MIT licensed Build Status Discord chat

Overview

Often, many of the pieces needed for writing network applications can be reused across multiple services. The Layer trait can be used to write reusable components that can be applied to very different kinds of services; for example, it can be applied to services operating on different protocols, and to both the client and server side of a network transaction.

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tower by you, shall be licensed as MIT, without any additional terms or conditions.

No runtime deps