changeset_saga/lib.rs
1//! Saga pattern for atomic multi-step operations.
2//!
3//! This crate provides infrastructure for executing multi-step operations
4//! with automatic rollback on failure. Each step produces an output that
5//! becomes the next step's input, and stores the original input for compensation.
6
7mod audit;
8mod builder;
9mod cloneable;
10mod erased;
11mod error;
12mod saga;
13mod step;
14
15pub use audit::{SagaAuditLog, StepRecord, StepStatus};
16pub use builder::SagaBuilder;
17pub use error::{CompensationError, SagaError};
18pub use saga::Saga;
19pub use step::SagaStep;