1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! # BPMN Engine
//!
//! BPMN 2.0 execution engine for Rust.
//!
//! This crate provides a high-performance, type-safe BPMN 2.0 execution engine
//! that supports BPMN 2.0 JSON format as standard I/O.
//!
//! ## Design Principles
//!
//! - **Activity/Capability-based design**: Following DoDAF v2 DM2 principles
//! - **Type safety**: Leveraging Rust's type system
//! - **Extensibility**: Support for custom tasks and listeners
//! - **Future-ready**: Designed for GraphQL API and persistence layer integration
//!
//! ## Example
//!
//! ```no_run
//! use bpmn_engine::{Engine, ProcessDefinition};
//!
//! # async fn example() -> Result<(), Box<dyn std::error::Error>> {
//! let engine = Engine::new();
//! let definition = ProcessDefinition::from_json(r#"
//! {
//! "id": "process1",
//! "name": "Example Process",
//! "elements": []
//! }"#)?;
//!
//! let instance = engine.start_process(definition, None).await?;
//! # Ok(())
//! # }
//! ```
pub use ;
pub use ProcessInstance;
pub use ExecutionContext;
pub use ProcessDefinition;
pub use ;