Lines Matching +full:test +full:- +full:msrv
9 #![cfg_attr(test, allow(clippy::float_cmp))]
13 //! `async fn(Request) -> Result<Response, Error>`
28 //! implementing these components in a protocol-agnostic, composable way. Typically,
43 //! * [`tower-service`]
44 //! * [`tower-layer`]
45 //! * [`tower-test`]
50 //! crates, [`tower-service`] and [`tower-layer`]. This crate contains
51 //! re-exports of those core traits, implementations of commonly-used
53 //! Finally, the [`tower-test`] crate provides tools for testing programs using
74 //! servers in a reusable manner. This might be general-purpose middleware
76 //! other Tower users!) or application-specific behavior that needs to be
79 //! protocols (such as HTTP) can depend on `tower-service` to use the
83 //! Similarly, a server might be created from a user-provided [`Service`].
91 //! A number of third-party libraries support Tower and the [`Service`] trait.
94 //! * [`hyper`]: A fast and correct low-level HTTP implementation.
95 //! * [`tonic`]: A [gRPC-over-HTTP/2][grpc] implementation built on top of
96 //! [`hyper`]. See [here][tonic-examples] for examples of using [`tonic`] with
99 //! [here][warp-service] for details on using [`warp`] with Tower.
100 //! * [`tower-lsp`] and its fork, [`lspower`]: implementations of the [Language
105 //! [tonic-examples]: https://github.com/hyperium/tonic/tree/master/examples/src/tower
108 //! [warp-service]: https://docs.rs/warp/0.2.5/warp/fn.service.html
109 //! [`tower-lsp`]: https://crates.io/crates/tower-lsp
111 //! [lsp]: https://microsoft.github.io/language-server-protocol/
146 //! Tower will keep a rolling MSRV (minimum supported Rust version) policy of **at
147 //! least** 6 months. When increasing the MSRV, the new Rust version must have been
148 //! released at least six months ago. The current MSRV is 1.49.0.
158 //! [`tower-service`]: https://crates.io/crates/tower-service
159 //! [`tower-layer`]: https://crates.io/crates/tower-layer
160 //! [`tower-test`]: https://crates.io/crates/tower-test
162 //! [open a PR]: https://github.com/tower-rs/tower/compare
163 //! [guides]: https://github.com/tower-rs/tower/tree/master/guides
188 #[cfg(feature = "load-shed")]
189 #[cfg_attr(docsrs, doc(cfg(feature = "load-shed")))]
195 #[cfg(feature = "ready-cache")]
196 #[cfg_attr(docsrs, doc(cfg(feature = "ready-cache")))]
204 #[cfg(feature = "spawn-ready")]
205 #[cfg_attr(docsrs, doc(cfg(feature = "spawn-ready")))]
241 /// Alias for a type-erased error type.