Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
src/ | 25-Apr-2025 | - | 660 | 425 | ||
.cargo-checksum.json | D | 25-Apr-2025 | 820 | 1 | 1 | |
Android.bp | D | 25-Apr-2025 | 1.2 KiB | 51 | 46 | |
CHANGELOG.md | D | 25-Apr-2025 | 921 | 35 | 21 | |
Cargo.toml | D | 25-Apr-2025 | 982 | 36 | 31 | |
LICENSE | D | 25-Apr-2025 | 1 KiB | 26 | 22 | |
METADATA | D | 25-Apr-2025 | 354 | 18 | 17 | |
MODULE_LICENSE_MIT | D | 25-Apr-2025 | 0 | |||
README.md | D | 25-Apr-2025 | 1.7 KiB | 43 | 33 | |
TEST_MAPPING | D | 25-Apr-2025 | 79 | 8 | 7 | |
cargo_embargo.json | D | 25-Apr-2025 | 87 | 7 | 6 |
README.md
1# Tower Layer 2 3Decorates a [Tower] `Service`, transforming either the request or the response. 4 5[![Crates.io][crates-badge]][crates-url] 6[![Documentation][docs-badge]][docs-url] 7[![Documentation (master)][docs-master-badge]][docs-master-url] 8[![MIT licensed][mit-badge]][mit-url] 9[![Build Status][actions-badge]][actions-url] 10[![Discord chat][discord-badge]][discord-url] 11 12[crates-badge]: https://img.shields.io/crates/v/tower-layer.svg 13[crates-url]: https://crates.io/crates/tower-layer 14[docs-badge]: https://docs.rs/tower-layer/badge.svg 15[docs-url]: https://docs.rs/tower-layer 16[docs-master-badge]: https://img.shields.io/badge/docs-master-blue 17[docs-master-url]: https://tower-rs.github.io/tower/tower_layer 18[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg 19[mit-url]: LICENSE 20[actions-badge]: https://github.com/tower-rs/tower/workflows/CI/badge.svg 21[actions-url]:https://github.com/tower-rs/tower/actions?query=workflow%3ACI 22[discord-badge]: https://img.shields.io/discord/500028886025895936?logo=discord&label=discord&logoColor=white 23[discord-url]: https://discord.gg/EeF3cQw 24 25## Overview 26 27Often, many of the pieces needed for writing network applications can be 28reused across multiple services. The `Layer` trait can be used to write 29reusable components that can be applied to very different kinds of services; 30for example, it can be applied to services operating on different protocols, 31and to both the client and server side of a network transaction. 32 33## License 34 35This project is licensed under the [MIT license](LICENSE). 36 37### Contribution 38 39Unless you explicitly state otherwise, any contribution intentionally submitted 40for inclusion in Tower by you, shall be licensed as MIT, without any additional 41terms or conditions. 42 43[Tower]: https://crates.io/crates/tower