//! Rust BPM Engine — library for embedding the BPM runtime.
//!
//! Use this crate to run workflows from your binary or examples:
//! - Define a [ProcessDefinition](model::ProcessDefinition) (nodes, edges, start).
//! - Create an [EngineContext](engine::EngineContext) with repos (e.g. [InstanceRepo](persistence::sqlite::InstanceRepo)).
//! - Run [BpmEngine::run](engine::BpmEngine::run) with [EngineEvent](engine::EngineEvent) (e.g. ProcessStarted, UserTaskCompleted).
/// Legacy db API: re-export from persistence so existing callers still work.