6baf381879
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)]`. |
||
---|---|---|
.. | ||
src | ||
CHANGELOG.md | ||
Cargo.toml | ||
LICENSE | ||
README.md |
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.