1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-01-24 15:51:47 +01:00
2019-03-29 21:13:39 -07:00

23 lines
670 B
Rust

//! Middlewares
#[cfg(any(feature = "brotli", feature = "flate2-zlib", feature = "flate2-rust"))]
mod compress;
#[cfg(any(feature = "brotli", feature = "flate2-zlib", feature = "flate2-rust"))]
mod decompress;
#[cfg(any(feature = "brotli", feature = "flate2-zlib", feature = "flate2-rust"))]
pub mod encoding {
//! Middlewares for compressing/decompressing payloads.
pub use super::compress::{BodyEncoding, Compress};
pub use super::decompress::Decompress;
}
pub mod cors;
mod defaultheaders;
pub mod errhandlers;
mod logger;
pub use self::defaultheaders::DefaultHeaders;
pub use self::logger::Logger;
#[cfg(feature = "secure-cookies")]
pub mod identity;