7 releases

0.3.3 Aug 13, 2024
0.3.2 Oct 10, 2022
0.3.1 Jan 7, 2021
0.3.0 Nov 29, 2019
0.1.0 Apr 27, 2019

#375 in Network programming

Download history 1264081/week @ 2024-07-27 1202099/week @ 2024-08-03 1334495/week @ 2024-08-10 1361803/week @ 2024-08-17 1375669/week @ 2024-08-24 1319145/week @ 2024-08-31 1383472/week @ 2024-09-07 1291198/week @ 2024-09-14 1361105/week @ 2024-09-21 1319253/week @ 2024-09-28 1351051/week @ 2024-10-05 1335719/week @ 2024-10-12 1403837/week @ 2024-10-19 1340031/week @ 2024-10-26 1408223/week @ 2024-11-02 1084736/week @ 2024-11-09

5,471,268 downloads per month
Used in 4,760 crates (125 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