Expand description
Thin façade crate — re-exports jetro_core through the public Jetro API.
All parsing, optimisation, and execution live in jetro_core. This crate
provides the byte-oriented Jetro handle plus JetroEngine for long-lived
plan/VM reuse and NDJSON processing.
Modules§
- introspect
- Opt-in query introspection.
- io
- Streaming input/output adapters for query execution.
Structs§
- Eval
Error - Evaluation error carrying a human-readable message. Propagated through
Result<Val, EvalError>across all execution layers. - Jetro
- Byte-oriented query handle. Wraps
jetro_core::Jetroand exposes document parsing plus query collection. - Jetro
Engine - Long-lived multi-document query engine with an explicit plan cache. Use when the same process evaluates many expressions over many documents — parse/lower/compile work is amortised by this object, not hidden in thread-local state.
Enums§
- Jetro
Engine Error - Error returned by
JetroEngine::collect_bytesand similar methods that may fail during JSON parsing or during expression evaluation.