Skip to main content

rustant_core/workflow/
mod.rs

1//! Workflow Engine for Rustant.
2//!
3//! Provides a declarative YAML DSL for defining multi-step workflows with
4//! typed parameters, approval gates, conditional execution, and error handling.
5
6pub mod builtins;
7pub mod executor;
8pub mod parser;
9pub mod templates;
10pub mod types;
11
12pub use builtins::{all_builtins, get_builtin, list_builtin_names};
13pub use executor::{
14    ApprovalHandler, AutoApproveHandler, AutoDenyHandler, ToolExecutor, WorkflowExecutor,
15};
16pub use parser::{parse_workflow, validate_workflow};
17pub use types::{
18    ApprovalDecision, ErrorAction, GateConfig, GateType, WorkflowDefinition, WorkflowInput,
19    WorkflowOutput, WorkflowState, WorkflowStatus, WorkflowStep,
20};