Expand description
RLogic - High-performance JSON Logic compiler and evaluator
This module provides a complete implementation of JSON Logic with:
- Pre-compilation of logic expressions for fast repeated evaluation
- Mutation tracking via proxy-like data wrapper (EvalData)
- All data mutations gated through EvalData for safety
- Zero external dependencies (uses only standard library and serde_json)
- Global compiled logic storage for cross-instance sharing
Re-exports§
pub use compiled::CompiledLogic;pub use compiled::CompiledLogicStore;pub use compiled::LogicId;pub use evaluator::Evaluator;pub use config::RLogicConfig;pub use compiled_logic_store::CompiledLogicId;pub use compiled_logic_store::CompiledLogicStoreStats;
Modules§
- compiled
- compiled_
logic_ store - Global storage for compiled logic expressions
- config
- evaluator
Structs§
- RLogic
- Main RLogic engine combining compilation and evaluation