Expand description
Wirerust: A modular, embeddable filter engine for structured data.
This crate is a clean, extensible reimplementation of the core ideas from Cloudflare’s wirefilter. It provides a way to define filter schemas, parse filter expressions, compile them, and execute them against runtime data.
§Planned Architecture
- Schema definition (fields/types)
- Expression parsing (AST)
- Compilation to IR (closures or pluggable backends)
- Execution context (runtime values)
- Extensible function/type registry
- Optional FFI/WASM bindings
Structs§
- Compiled
Filter - A compiled filter, ready for execution.
- Default
Compiler - Ends
With Function - Filter
Context - Filter
Context Builder - Filter
Parser - Filter
Schema - Filter
Schema Builder - Function
Registry - IrCompiled
Filter - A compiled filter in IR form.
- LenFunction
- Lower
Function - Starts
With Function - SumFunction
- Upper
Function - Wirerust
Engine - The main engine for parsing, compiling, and executing filters.
- Wirerust
Engine Builder - Builder for WirerustEngine, for ergonomic embedding and configuration.