2019-03-24 11:29:35 -07:00
|
|
|
//! Middlewares
|
2019-03-01 22:51:32 -08:00
|
|
|
#[cfg(any(feature = "brotli", feature = "flate2"))]
|
|
|
|
mod compress;
|
|
|
|
#[cfg(any(feature = "brotli", feature = "flate2"))]
|
|
|
|
pub use self::compress::Compress;
|
2018-03-07 15:38:58 +08:00
|
|
|
|
2019-03-26 15:14:32 -07:00
|
|
|
#[cfg(any(feature = "brotli", feature = "flate2"))]
|
|
|
|
mod decompress;
|
|
|
|
#[cfg(any(feature = "brotli", feature = "flate2"))]
|
|
|
|
pub use self::decompress::Decompress;
|
|
|
|
|
2019-03-23 21:29:16 -07:00
|
|
|
pub mod cors;
|
2018-04-13 16:02:01 -07:00
|
|
|
mod defaultheaders;
|
2019-03-24 11:32:30 -07:00
|
|
|
pub mod errhandlers;
|
2019-03-10 16:35:38 -07:00
|
|
|
mod logger;
|
|
|
|
|
2018-04-02 21:43:50 -07:00
|
|
|
pub use self::defaultheaders::DefaultHeaders;
|
2019-03-10 16:35:38 -07:00
|
|
|
pub use self::logger::Logger;
|
2019-03-05 10:08:08 -08:00
|
|
|
|
2019-03-23 11:18:31 -07:00
|
|
|
#[cfg(feature = "cookies")]
|
2019-03-09 20:40:09 -08:00
|
|
|
pub mod identity;
|