1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! Durable libSQL-backed event-store implementation for Aion workflows.
//!
//! The crate opens embedded or embedded-replica libSQL databases, applies the
//! Aion schema, and implements the `aion_store` history, timer, and visibility
//! traits through `LibSqlStore`.
//!
//! # Example
//!
//! ```no_run
//! # async fn example() -> Result<(), Box<dyn std::error::Error>> {
//! use aion_store_libsql::LibSqlStore;
//!
//! let store = LibSqlStore::open("aion.db").await?;
//! store.validate_event_compatibility().await?;
//! # Ok(())
//! # }
//! ```
/// Operator-facing libSQL connection configuration.
/// libSQL database and connection opening helpers.
/// Error conversion helpers for libSQL-backed storage.
/// Idempotent schema creation for the libSQL event store.
/// `LibSqlStore` and its event-store trait implementations.
pub use ;
pub use OutboxRowState;
pub use LibSqlStore;