Skip to main content

Crate crepuscularity_ssr

Crate crepuscularity_ssr 

Source
Expand description

SSR pipeline for Crepuscularity: Axum handlers that render .crepus templates server-side.

Re-exports§

pub use handler::SsrHandler;
pub use handler::SsrOptions;
pub use router::RouteEntry;
pub use router::SsrRouter;
pub use stream::stream_ssr_response;
pub use stream::stream_static_template;

Modules§

handler
router
Multi-route SSR router: maps URL paths to .crepus templates.
stream
Streaming SSR: renders the template head synchronously, flushes, then sends body chunks.