pub use caelix_core::*;
pub use caelix_macros::{controller, gateway, guard, injectable, on_message};
#[cfg(feature = "openapi")]
pub mod openapi {
pub use caelix_core::openapi::*;
pub use caelix_macros::{errors, request_header, response, security};
}
pub mod websocket {
pub use caelix_core::{
WebSocketCloseCode, WebSocketCloseFrame, WebSocketError, WebSocketGateway,
WebSocketRequest, WebSocketSession,
};
}
#[cfg(all(feature = "actix", feature = "axum"))]
compile_error!("Caelix backends `actix` and `axum` are mutually exclusive; select exactly one");
#[cfg(any(feature = "actix", feature = "axum"))]
pub use caelix_macros::{main, test};
#[cfg(feature = "actix")]
#[doc(hidden)]
pub use caelix_actix::__actix_web;
#[cfg(feature = "actix")]
pub use caelix_actix::{
Application, Logging, TestApplication, TestApplicationBuilder, TestRequestBuilder,
TestResponse, to_actix_response,
};
#[cfg(feature = "axum")]
#[doc(hidden)]
pub use caelix_axum::{__axum, __tokio};
#[cfg(feature = "axum")]
pub use caelix_axum::{
Application, AxumRequestInfo, AxumRouterBuilder, DEFAULT_BODY_LIMIT_BYTES, TestApplication,
TestApplicationBuilder, TestRequestBuilder, TestResponse, to_axum_response,
};
#[cfg(feature = "socketio")]
pub mod socket_io {
pub use caelix_socketio::*;
}
pub mod prelude {
pub use caelix_core::*;
pub use caelix_macros::{controller, gateway, guard, injectable, on_message};
}