Expand description
marque-engine — pipeline orchestration.
Wires together: scanner → parser → validator → fixer → output.
The pipeline is a chain of async streams; each stage is a Stream impl.
CLI, WASM, and server are different Source/Sink configurations wired to the same middle.
Re-exports§
pub use batch::BatchEngine;pub use batch::BatchError;pub use batch::BatchOptions;pub use clock::Clock;pub use clock::FixedClock;pub use clock::SystemClock;pub use decoder::DecoderRecognizer;pub use decoder::StrictOrDecoderRecognizer;pub use engine::Engine;pub use engine::FixMode;pub use engine::InvalidThreshold;pub use errors::EngineConstructionError;pub use errors::EngineError;pub use options::FixOptions;pub use options::LintOptions;pub use output::FixResult;pub use output::LintResult;pub use pipeline::Sink;pub use pipeline::Source;pub use pipeline::SourceError;pub use pipeline::TextChunk;pub use recognizer::StrictRecognizer;
Modules§
- batch
- Concurrent batch processing over many documents.
- clock
- Clock abstraction for deterministic timestamps in audit records.
- decoder
- Phase-D probabilistic
Recognizer— the “decoder”. - engine
Engine— the configured, ready-to-run pipeline.- errors
- Engine error surfaces — both build-time and runtime.
- options
- Per-call options for
Engine::lint_with_optionsandEngine::fix_with_options(spec 005). - output
- Output types returned by the engine’s synchronous API surface.
- pipeline
- Async stream pipeline types.
- recognizer
Recognizerimplementations for the engine’s strict dispatch path.- scheduler
- Page-rewrite scheduler.
Structs§
- Instant
- Re-export of
web_time::Instant.
Constants§
- AUDIT_
SCHEMA_ IS_ V2 truewhen this build emits Phase-D audit records (marque-mvp-2),falsewhen emitting the legacymarque-mvp-1shape.- AUDIT_
SCHEMA_ VERSION - Audit-record schema version emitted by this build.
Functions§
- default_
ruleset - Returns the default rule set for marque (CAPCO rules).
- default_
scheme - Returns the default marking scheme for marque (CAPCO).