Skip to main content

Crate inker

Crate inker 

Source
Expand description

§Inker

Modular engine/renderer controller for the mere browser — selects and orchestrates content engines (Wry system webview, Serval, nematic smolweb, file/media viewers).

In the printing-press metaphor that organizes Mere’s architecture, the Inker pairs each engine to its content and applies the engine’s “ink” to the platen press. Routing URI schemes to engines, lifecycle management, and engine-output piping all live here. (Verso names the engine-flip / compatibility-view seam — see design_docs/verso_docs/ — not a pipeline stage below platen.)

§Status

Pre-1.0. This 0.0.x release reserves the crate name and documents intent; implementation is in progress within the Mere workspace.

Re-exports§

pub use a11y::A11yCapability;
pub use document::Block;
pub use document::BlockEvaluator;
pub use document::BlockEvaluators;
pub use document::BlockProvenance;
pub use document::BlockProvenanceMap;
pub use document::DocumentDiagnostic;
pub use document::DocumentProvenance;
pub use document::DocumentTrustState;
pub use document::EngineDocument;
pub use document::EvalOutcome;
pub use document::EvalOutput;
pub use document::EvaluationPolicy;
pub use document::Fetched;
pub use document::GophermapContext;
pub use document::InlineSpan;
pub use document::ResolvedProvenance;
pub use document::TableAlignment;
pub use document::TranscludeOutcome;
pub use document::TransclusionPolicy;
pub use document::evaluate_blocks;
pub use document::inline_text;
pub use document::parse_eval;
pub use document::parse_include;
pub use document::resolve_transclusions;
pub use engine::Engine;
pub use engine::EngineError;
pub use engine::EngineInput;
pub use engine::EngineRegistry;
pub use routing::EngineRouteDecision;
pub use routing::EngineRoutePolicy;
pub use routing::EngineRouteRequest;
pub use routing::EngineRouteRule;
pub use routing::SurfaceContract;
pub use routing::SurfaceContractMode;
pub use routing::SurfaceTargetId;
pub use routing::WorkspaceRouteId;
pub use session_engine::DocumentSession;
pub use session_engine::EngineKindIndex;
pub use session_engine::EngineKinds;
pub use session_engine::SessionClick;
pub use session_engine::SessionEngine;
pub use session_engine::SessionError;
pub use session_engine::SessionRegistry;
pub use session_engine::SessionScrollKey;
pub use session_engine::SessionSpawnRequest;
pub use sniff::sniff_content_type;
pub use statements::LinkStatement;
pub use surface_engine::Cookie;
pub use surface_engine::CookieAttributeCapabilities;
pub use surface_engine::CookieCapabilities;
pub use surface_engine::CursorShape;
pub use surface_engine::EngineProfileBinding;
pub use surface_engine::FocusReason;
pub use surface_engine::KeyboardEvent;
pub use surface_engine::KeyboardModifiers;
pub use surface_engine::MouseButton;
pub use surface_engine::MouseEvent;
pub use surface_engine::MouseEventKind;
pub use surface_engine::NativeTextureHandle;
pub use surface_engine::NavigationEvent;
pub use surface_engine::PhysicalPosition;
pub use surface_engine::PointerEvent;
pub use surface_engine::SameSite;
pub use surface_engine::ScriptCapabilities;
pub use surface_engine::SurfaceEngine;
pub use surface_engine::SurfaceEngineRegistry;
pub use surface_engine::SurfaceError;
pub use surface_engine::SurfaceFrame;
pub use surface_engine::SurfaceProducer;
pub use surface_engine::SurfaceSettings;
pub use surface_engine::SurfaceSpawnRequest;
pub use surface_engine::SurfaceSyncHandle;
pub use surface_engine::WebFeatureStatus;
pub use surface_engine::WebFrameTransportMode;
pub use surface_engine::WebMessage;
pub use surface_engine::WebSurface;
pub use surface_engine::WebSurfaceCapabilities;
pub use surface_engine::WebSurfaceEvent;

Modules§

a11y
Accessibility capability contract (R0 invariant — every surface declares what it can expose to the a11y tree; degradation is declared, never silent). Accessibility capability contract — the invariant every content surface declares about what it can expose to the accessibility tree.
document
Portable document model — what engines produce. Portable document model — what engines produce.
engine
Engine trait and registry. Engine trait, input/error vocabulary, and registry.
routing
Host-neutral engine routing contracts. Host-neutral engine routing vocabulary and default policy.
session_engine
Session-engine traits and registry — the third engine kind: retained document sessions producing paint frames (the serval HTML lanes, smolweb native). Frame-type generic; this crate stays paint-free. Session-engine traits and registry — the third engine kind (2026-07-10 session-engines plan).
sniff
Content-type sniffing for unlabelled byte streams. Content-type sniffing.
statements
Statement extraction — the pure walk collecting knot rel links. The graph-side apply lives in mere’s linked-data crate (kernel-free split). Statement extraction from knot documents (knot design doc §10.5 Phase 4; linked-data plan Phase 0) — the pure half.
surface_engine
Surface-engine traits and registry — parallel dispatch path for long-lived, frame-streaming engines (e.g. scrying.web). Surface-engine traits and registry — parallel dispatch path for long-lived, frame-streaming engines alongside crate::engine.

Constants§

STAGE
Lifecycle stage marker.
VERSION
Crate version.