
`tower` builds are now failing on CI because Tokio v1.17.0 bumped MSRV to 1.49.0. This branch updates `tower`'s MSRV to 1.49.0 to track Tokio's MSRV. I also added nicer documentation of the MSRV based on Tokio's, and added the `rust-version` Cargo metadata to the `tower` crate's `Cargo.toml`. Note that `tower-service` and `tower-layer` can technically continue to support much earlier Rust versions than `tower` can, since they don't depend on external crates and are very small. We could consider testing separate, older MSRVs on CI for those crates individually. I didn't do that in this PR, though, because I wasn't sure if this was worth the effort and I just wanted to get CI passing again.
2.0 KiB
Tower
Tower is a library of modular and reusable components for building robust networking clients and servers.
Overview
Tower aims to make it as easy as possible to build robust networking clients and servers. It is protocol agnostic, but is designed around a request / response pattern. If your protocol is entirely stream based, Tower may not be a good fit.
Supported Rust Versions
Tower will keep a rolling MSRV (minimum supported Rust version) policy of at least 6 months. When increasing the MSRV, the new Rust version must have been released at least six months ago. The current MSRV is 1.49.0.
Getting Started
If you're brand new to Tower and want to start with the basics we recommend you check out some of our guides.
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.