Expand description
规则引擎核心定义与宏构建系统。
该模块定义了扫描规则的底层结构(如 RawRule、Assertion),
并利用 inventory 库实现了规则的分布式注册。
模块内提供的 lazy_rule! 宏是定义扫描规则的核心工具。
Modules§
Macros§
- lazy_
rule - 核心规则定义宏。
Structs§
Enums§
- Find
- 匹配查找器。
Statics§
- ALL_
RULES - 全局预编译的所有规则实例。
利用
LazyLock在首次访问时加载并编译inventory收集到的规则。
Functions§
- get_
rules - 获取被编译和组装好的可执行规则集合 (
AnyRule)。