1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#![doc(html_root_url = "https://docs.rs/tower-hyper/0.1.1")] #![deny(missing_docs, missing_debug_implementations, unreachable_pub)] #![cfg_attr(test, deny(warnings))] //! A tower hyper bridge library that provides utilties //! to use hyper with a tower middleware stack. //! //! # Overview //! //! This library is comprised of client and server modules. Currently, only //! the client portion is done and working. The server side is blocked partially //! by hypers use of its own Service and MakeService traits. pub mod body; pub mod client; pub mod server; pub mod util; // Known bug in rustc: https://github.com/rust-lang/rust/issues/18290 #[allow(dead_code)] pub(crate) type Error = Box<dyn std::error::Error + Send + Sync>; pub use body::Body; pub use client::{Client, Connect, Connection}; pub use server::Server;