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

#628 in Network programming

Download history 660132/week @ 2023-12-13 446083/week @ 2023-12-20 352438/week @ 2023-12-27 657163/week @ 2024-01-03 687718/week @ 2024-01-10 776986/week @ 2024-01-17 751932/week @ 2024-01-24 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 872034/week @ 2024-03-20 669150/week @ 2024-03-27

3,348,499 downloads per month
Used in 3,582 crates (91 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