tower/tower-layer
Jon Gjengset 6baf381879
Consistently apply deny/warn rules (#352)
This makes all tower subcrates have the following lints as warn (rather
than allow): `missing_docs`, `rust_2018_idioms`, `unreachable_pub`, and
`missing_debug_implementations`. In addition, it consistently applies
`deny(warning)` *only* under CI so that deprecations and macro changes in minor
version bumps in dependencies will never cause `tower` crates to stop
compiling, and so that tests can be run even if not all warnings have been
dealt with. See also https://github.com/rust-unofficial/patterns/blob/master/anti_patterns/deny-warnings.md

Note that `tower-reconnect` has the `missing_docs` lint disabled for now
since it contained _no_ documentation previously. Also note that this
patch does not add documentation to the various `new` methods, as they
are considered self-explanatory. They are instead marked as
`#[allow(missing_docs)]`.
2019-09-23 17:28:14 -04:00
..
src Consistently apply deny/warn rules (#352) 2019-09-23 17:28:14 -04:00
CHANGELOG.md layer: Add date to changelog 2019-09-11 14:49:23 -04:00
Cargo.toml layer: remove unused dependencies (#351) 2019-09-23 09:54:08 -04:00
LICENSE layer: Add `tower-layer` and the `Layer` trait (#163) 2019-02-27 15:28:42 -05:00
README.md layer: Add `tower-layer` and the `Layer` trait (#163) 2019-02-27 15:28:42 -05:00

README.md

Tower Layer

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

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.