lib.rs 562 B

123456789101112131415
  1. //! Kuatia — async ledger resource built on top of [`kuatia_core`].
  2. //!
  3. //! This crate adds IO to the pure decision logic: the [`Store`](kuatia_storage::store::Store) trait
  4. //! abstracts storage, and the [`Ledger`](crate::ledger::Ledger) struct drives the two-step
  5. //! commit saga (reserve then finalize, validation inside finalize) behind an async API.
  6. pub mod error;
  7. pub mod inflight;
  8. pub mod ledger;
  9. pub mod saga;
  10. // Re-export storage crate for convenience.
  11. pub use kuatia_storage::{error as store_error, mem_store, store, store_tests};
  12. pub mod prelude;