rust-runes 0.1.0

A rule engine compatible with Grule's rule language (GRL) and execution model
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# API documentation

The API documentation describes every public type and method:

- [Latest from `main`]api/rust_runes/index.html, published with this guide.
- [docs.rs]https://docs.rs/rust-runes, for each released version.

The main types are:

| Type | Purpose |
|---|---|
| `RuleEngine` | Loads rules, registers functions and methods, and executes. |
| `Fact`, `FactValue` | Facts and their values, and conversion from and to your types. |
| `serde_time` | Serde attributes that make `DateTime` fields time values. |
| `EngineError` | Everything that can go wrong while executing. |
| `EngineListener` | Callbacks as cycles begin and rules are evaluated and fired. |
| `Rule`, `ast::Expression` | Rules built in code rather than loaded from GRL. |