sqlmodel-frankensqlite 0.2.1

FrankenSQLite (pure-Rust) driver for SQLModel Rust
Documentation

FrankenSQLite driver for SQLModel Rust.

sqlmodel-frankensqlite is a pure-Rust SQLite driver for the SQLModel ecosystem. It implements the Connection trait from sqlmodel-core, backed by FrankenSQLite — a pure-Rust SQLite reimplementation with page-level MVCC and RaptorQ self-healing.

Role In The Architecture

  • Implements sqlmodel-core::Connection for FrankenSQLite
  • No FFI or unsafe code (beyond the Send/Sync wrappers)
  • Enables sqlmodel-query and sqlmodel-session to run against FrankenSQLite
  • Supports BEGIN CONCURRENT for parallel write throughput

Thread Safety

FrankenConnection is both Send and Sync, using internal mutex synchronization to protect the underlying FrankenSQLite connection. This allows connections to be shared across async tasks safely.