stellation_backend_tower/
lib.rs

1//! Stellation's tower support.
2
3#![deny(clippy::all)]
4#![deny(missing_debug_implementations)]
5#![deny(unsafe_code)]
6#![deny(non_snake_case)]
7#![deny(clippy::cognitive_complexity)]
8#![deny(missing_docs)]
9#![cfg_attr(documenting, feature(doc_cfg))]
10#![cfg_attr(documenting, feature(doc_auto_cfg))]
11#![cfg_attr(any(releasing, not(debug_assertions)), deny(dead_code, unused_imports))]
12
13mod endpoint;
14pub use endpoint::TowerEndpoint;
15/// A stellation request with information extracted with tower services, used for server-side
16/// rendering.
17///
18/// Currently, this is a type alias to
19/// [`WarpRenderRequest`](stellation_backend_warp::WarpRenderRequest).
20pub type TowerRenderRequest<CTX> = stellation_backend_warp::WarpRenderRequest<CTX>;
21/// A stellation request with information extracted with tower services.
22///
23/// Currently, this is a type alias to
24/// [`WarpRequest`](stellation_backend_warp::WarpRequest).
25pub type TowerRequest<CTX> = stellation_backend_warp::WarpRequest<CTX>;
26#[doc(inline)]
27pub use stellation_backend_warp::Frontend;
28
29mod server;
30pub use server::Server;