mirror of
https://github.com/actix/actix-extras.git
synced 2025-01-24 15:51:47 +01:00
22 lines
519 B
Rust
22 lines
519 B
Rust
//! Middlewares
|
|
#[cfg(any(feature = "brotli", feature = "flate2"))]
|
|
mod compress;
|
|
#[cfg(any(feature = "brotli", feature = "flate2"))]
|
|
pub use self::compress::Compress;
|
|
|
|
#[cfg(any(feature = "brotli", feature = "flate2"))]
|
|
mod decompress;
|
|
#[cfg(any(feature = "brotli", feature = "flate2"))]
|
|
pub use self::decompress::Decompress;
|
|
|
|
pub mod cors;
|
|
mod defaultheaders;
|
|
pub mod errhandlers;
|
|
mod logger;
|
|
|
|
pub use self::defaultheaders::DefaultHeaders;
|
|
pub use self::logger::Logger;
|
|
|
|
#[cfg(feature = "cookies")]
|
|
pub mod identity;
|