valence-backend-sqlite
SQLite DatabaseBackend adapter (embedded). Enable via the public valence feature sqlite for durable single-host storage. Shares the SQL document-row pattern with postgres for adapter work.
pub const ENGINE_ID: &str = "sqlite";
Wiring
use Arc;
use ;
let backend = connect_memory.await?;
// Or: SqliteBackend::connect("/tmp/valence.db").await?;
let valence = builder
.add_backend
.build?;
Runnable: cargo run -p uf-valence --example quickstart_sqlite --features sqlite
Shared SQL helpers: valence-backend-sql. Contract: DatabaseBackend rustdoc (cargo doc -p uf-valence-core --open).