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