bpm-engine 0.1.0

Lightweight embeddable BPM runtime for long-running, stateful workflows with tokens, timers, Saga compensation, and crash recovery
1
2
3
4
5
6
7
8
9
10
//! Persistence layer (design: overview ยง5).
//! Repo traits and SQLite / memory implementation.

pub mod memory;
pub mod repo;
pub mod sqlite;

pub use memory::ProcessDefStore;
pub use repo::{CompensationRecordRepo, CompensationRecordRow, OutboxEvent, OutboxRepo, ParallelJoinRepo, ProcessDefinitionRepo, ProcessInstanceRepo, TimerRecord, TimerRepo, TokenRepo, TransactionScope, UserTaskRepo};
pub use sqlite::InstanceRepo;