raisfast 0.2.19

The last backend you'll ever need. Rust-powered headless CMS with built-in blog, ecommerce, wallet, payment and 4 plugin engines.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Workflow engine
//!
//! Provides workflow definition management, instance creation, step execution, and state transitions.
//!
//! ## Module structure
//!
//! - [`model`] — Data structures + SQL queries
//! - [`engine`] — State machine core (WorkflowService)
//! - [`handler`] — Axum route handlers
//! - [`validate`] — Step definition validation + condition expression evaluation

pub mod engine;
pub mod handler;
pub mod model;
pub mod validate;

pub use engine::WorkflowService;
pub use model::{StepDef, StepLog, StepType, WorkflowDefinition, WorkflowInstance};