#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![doc = include_str!("../README.md")]
#![doc(html_favicon_url = "https://zino.cc/assets/zino-logo.png")]
#![doc(html_logo_url = "https://zino.cc/assets/zino-logo.svg")]
#![allow(async_fn_in_trait)]
#![forbid(unsafe_code)]
mod application;
mod middleware;
mod request;
mod response;
pub use application::Cluster;
pub use request::Extractor;
pub use response::{AxumRejection, AxumResponse};
pub type Request = Extractor<axum::http::Request<axum::body::Body>>;
pub type Response = zino_http::response::Response<axum::http::StatusCode>;
pub type Result<T = AxumResponse> = std::result::Result<T, AxumRejection>;