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
26
27
28
29
30
31
32
33
34
35
36
37
38
//! # hyper_middleware
//!
//! `hyper_middleware` is a complement set of HTTP middlewares with a small Hyper Service to get started with a HTTP server easily.
//! This module only supports Hyper `0.14`.
//!
//! ## Features
//!
//! - Compact [Middleware & Handler System][`middleware`] inspired by [The Iron Framework](https://github.com/iron/iron).
//! - Simple [Hyper Service][`hyper::service::Service`] with [Remote Address][`hyper::server::conn::AddrStream`] access.
//! - Convenient [`Error`] and [`Result`] types powered by [anyhow](https://github.com/dtolnay/anyhow).
//! - `Async` support via [async-trait](https://github.com/dtolnay/async-trait).
//! - Macros to facilitate HTTP response errors or error casting.
//!
//! Check it out [`middleware`] module for more details.
//!
pub use ;
pub use *;
pub use *;
pub use *;
pub use *;
// Re-export crates
pub use *;
pub use *;