Skip to main content

Crate forma_server

Crate forma_server 

Source
Expand description

Axum middleware for Forma SSR.

Provides page rendering (render_page), content-hashed asset serving, CSP headers with cryptographic nonces, service worker handling, and the Phase 1 (client mount) / Phase 2 (SSR reconcile) rendering pipeline.

§Quick Start

use forma_server::{render_page, PageConfig, RenderMode};

Re-exports§

pub use ir_compat::check_ir_compatibility;
pub use ir_compat::load_ir_modules;
pub use template::render_page;
pub use types::*;

Modules§

assets
csp
ir_compat
sw
template
types