poprako_orchestra_extra/lib.rs
1//! Opt-in extensions for the `poprako-orchestra` step ecosystem.
2//!
3//! This crate provides producer-side outbox abstractions as an optional add-on
4//! to [`poprako-orchestra`]. The available extensions are gated behind Cargo
5//! features:
6//!
7//! - **`promise`** — Producer-side step contracts (`Defer`, `DeferBatch`) and
8//! the `Prom` trait, enabling an orchestration step to persist messages in a
9//! local outbox table for later delivery.
10//!
11//! See the [README] for a complete usage example and the full feature list.
12//!
13//! [README]: https://crates.io/crates/poprako-orchestra-extra
14
15/// Outbox producer abstractions compatible with the `poprako-orchestra` ecosystem.
16///
17/// Enable the `promise` feature to use this module. It defines the producer-side
18/// step contracts and the data passed to a producer when one or more messages
19/// must be deferred for later delivery.
20#[cfg(feature = "promise")]
21pub mod prom;