rightkit-db
Correct-by-default SQLite connection bootstrap for Right Suite desktop apps. It owns connection pragmas, SQLCipher key ordering, bounded read pooling, checkpointing, optimization, and optional integrity checks. It does not own app schemas, migrations, or queries.
Every connection uses WAL, a bounded busy wait and journal, memory-backed
temporary storage, and the selected durability profile. Use write_txn() for
any transaction that may write; it starts BEGIN IMMEDIATE so read-then-write
work cannot fail with an unretryable stale snapshot.
Plain SQLite is the default feature. SQLCipher consumers must disable defaults:
= { = "=0.1.0", = false, = ["sqlcipher"] }
Choose DurabilityProfile::Full for user mutations that cannot be reconstructed
and DurabilityProfile::Normal for rebuildable indexes or telemetry. The
LargeWorkingSet cache profile is opt-in and currently intended for MailRight.
Publish only through:
right-release publish cargo --crate rightkit-db