tea_session_sqlite/lib.rs
1#![forbid(unsafe_code)]
2#![deny(missing_docs)]
3
4//! Durable `SQLite` session store for `tea-rs`.
5//!
6//! Implements `tea_session::SessionStore` over a versioned,
7//! append-only `SQLite` event log. Reuses the shared `apply_transaction` engine
8//! so its observable behavior matches the in-memory reference store exactly.
9//!
10//! # Example
11//!
12//! ```no_run
13//! use tea_session_sqlite::SqliteSessionStore;
14//!
15//! # fn main() -> Result<(), Box<dyn std::error::Error>> {
16//! let store = SqliteSessionStore::open("agents.sqlite")?;
17//! # Ok(())
18//! # }
19//! ```
20
21mod error;
22mod schema;
23mod store;
24
25pub use error::SqliteSessionError;
26pub use store::SqliteSessionStore;