orbit_runtime/lib.rs
1//! The ORBIT runtime: a durable, single-node workflow execution service.
2//!
3//! * [`model`] — history events and the state folded from them
4//! * [`decide`] — the pure, deterministic workflow decider
5//! * [`store`] — SQLite persistence (event history is authoritative)
6//! * [`engine`] — dispatch, worker registry, reconciliation and recovery
7//! * [`server`] — HTTP API and the HTTP/JSON worker protocol binding
8//! * [`cluster`] — active/standby operation of several servers on PostgreSQL
9//! * [`shared`] — several active servers sharing the work on PostgreSQL
10//! * [`testing`] — in-process simulation for `orbit test` and `orbit simulate`
11//! * [`replay`] — re-run a recorded history through the current decider
12
13// TaskError is returned by value on cold paths; boxing would only add noise.
14#![allow(clippy::result_large_err)]
15
16pub mod cluster;
17pub mod decide;
18pub mod engine;
19pub mod grpc;
20pub mod http_adapter;
21pub mod identity;
22pub mod metrics;
23pub mod model;
24pub mod replay;
25pub mod server;
26pub mod shared;
27pub mod store;
28pub mod telemetry;
29pub mod testing;
30
31pub use engine::{Engine, EngineConfig, EngineError};
32pub use store::Store;