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//! * [`testing`] — in-process simulation for `orbit test` and `orbit simulate`
10//! * [`replay`] — re-run a recorded history through the current decider
11
12// TaskError is returned by value on cold paths; boxing would only add noise.
13#![allow(clippy::result_large_err)]
14
15pub mod cluster;
16pub mod decide;
17pub mod engine;
18pub mod grpc;
19pub mod http_adapter;
20pub mod identity;
21pub mod metrics;
22pub mod model;
23pub mod replay;
24pub mod server;
25pub mod store;
26pub mod telemetry;
27pub mod testing;
28
29pub use engine::{Engine, EngineConfig, EngineError};
30pub use store::Store;