rust_rule_engine/parser/
mod.rs

1#![allow(deprecated)]
2pub mod grl_helpers;
3pub mod grl_no_regex;
4/// GRL (Grule Rule Language) parser implementation
5// Core parsing modules (no regex dependency)
6pub mod literal_search;
7pub mod parallel;
8pub mod simd_search;
9pub mod zero_copy;
10
11// Legacy regex-based parser (deprecated, behind feature flag)
12#[cfg(feature = "legacy-regex-parser")]
13pub mod grl;
14
15// Re-export the recommended parser as GRLParser
16pub use grl_no_regex::GRLParserNoRegex as GRLParser;
17pub use grl_no_regex::ParsedGRL;
18
19// Also export the legacy parser when feature is enabled
20#[cfg(feature = "legacy-regex-parser")]
21pub use grl::GRLParser as LegacyGRLParser;