Expand description
Document metadata, manifest and declared route modes.
Structs§
- Asset
Manifest - Validated schema-2 build manifest. Deserialize through the shared validator.
- Asset
Metadata - Metadata for one emitted file, including its full uncompressed-byte digest.
- Page
Config - Document metadata for an explicitly browser-rendered page.
Server-rendered pages use a bound
crate::PageHandle. - Route
Assets - Per-route asset references.
Enums§
- Route
Mode - The manifest’s explicit route mode.
Constants§
- NOSNIFF
X-Content-Type-Options: nosniff— belongs on every response, not just documents.
Functions§
- asset_
security_ headers - Security headers for subresource responses (
/_assets/*,/sw.js). - document_
security_ headers - Security headers that only make sense on an HTML document response.