Skip to main content

fluxpro_engine/
lib.rs

1//! Workflow definitions, typed context values, and optional execution integrations.
2//!
3//! The default build exposes models and the service-handler contract. Enable `db`
4//! for PostgreSQL persistence, `runtime` for execution, `api` for Actix Web routes,
5//! `admin` for inspection and maintenance, or `full` for all backend integrations.
6//! Enable `editor` for Leptos authoring and monitoring components (Rust 1.88+).
7//!
8//! Start with [`models::process_def::ProcessDefinition`] and
9//! [`traits::node_handlers::service_node_handler::FluxproServiceHandler`].
10//! The repository's `docs/nodes.md` describes every node and its runtime behavior.
11
12#[cfg(feature = "editor")]
13pub mod editor;
14
15pub mod models;
16pub mod traits;
17
18#[cfg(feature = "admin")]
19pub mod admin;
20#[cfg(feature = "api")]
21pub mod api_handlers;
22#[cfg(feature = "db")]
23pub mod archive;
24#[cfg(feature = "runtime")]
25pub mod config;
26#[cfg(feature = "db")]
27pub mod db_models;
28#[cfg(feature = "db")]
29pub mod db_service;
30#[cfg(feature = "runtime")]
31pub mod engine;
32#[cfg(feature = "api")]
33pub mod impls;
34#[cfg(feature = "db")]
35pub mod migrations;
36#[cfg(feature = "runtime")]
37pub mod service;