weirdnet-rules 0.1.0

Weirdnet rules: if-this-then-that over an event history. Condition syntax and comparison, rule specs generic over the application's then-actions, a matching and loop-protected engine behind a host trait, templates, and every/cron schedules.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! If-this-then-that over an event history: rule specs generic over the application's
//! then-actions, the condition syntax and comparison, templates, every/cron schedules, and a
//! matching, loop-protected engine that reaches the application only through [`engine::Host`].
#![forbid(unsafe_code)]

pub mod compare;
pub mod engine;
mod error;
mod model;
pub mod schedule;
pub mod syntax;
pub mod template;

pub use error::{Result, RulesError};
pub use model::{Condition, Op, RuleSpec, SPEC_VERSION, Schedule, ThenAction};