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