Expand description
Scroll engine — body-shape parser for the Scroll smolweb protocol (https://scroll.mozz.us).
Scroll responses are a binary envelope (sender / signature / timestamp /
content-type) wrapped around a body. The envelope side is the host
transport’s job — the engine receives the body with the envelope’s
content-type already in EngineInput::content_type when known.
Body content-type → delegate:
text/gemini(default) →crate::GemtextEnginetext/markdown/text/x-markdown→crate::MarkdownEngine
Until envelope decoding lands in the transport layer, the engine emits
a DocumentDiagnostic::UnsupportedConstruct noting that signature
verification was not performed; trust stays Unknown. Once the host
has a verified envelope it overrides EngineDocument::trust before
handing the document to the projection layer.
Structs§
- Scroll
Engine - Scroll body engine. Owns inner gemtext / markdown engines for body dispatch.
Constants§
- ENGINE_
ID - Stable engine identifier.