Expand description
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
use aion_store_libsql::LibSqlStore;
let store = LibSqlStore::open("aion.db").await?;
store.validate_event_compatibility().await?;Re-exports§
pub use config::LibSqlConfig;pub use config::LibSqlMode;pub use store::LibSqlStore;
Modules§
- config
- Operator-facing libSQL connection configuration. Deserialize-only configuration for the libSQL event store.
- connection
- libSQL database and connection opening helpers. Open embedded and embedded-replica libSQL connections.
- error
- Error conversion helpers for libSQL-backed storage.
Mapping libSQL and serde errors into
StoreError. - schema
- Idempotent schema creation for the libSQL event store. Idempotent schema DDL for the libSQL event store.
- store
LibSqlStoreand its event-store trait implementations.LibSqlStorestruct andEventStoreimplementation wiring.