A from-scratch, dependency-free SQLite implementation: file format reader and writer (b-tree read and write paths, pager, journal, WAL), a SQL lexer, parser and AST, a planner, and an executor — plus locking, integrity checking and a `sqlq` CLI. It exists because the asset store needs a database on every platform the app ships to, without a C toolchain in the build and without a system library whose version is somebody else's decision. The test suite is the argument: DML, DDL, concurrency, crash recovery, a query corpus and a DML fuzzer, all checked against real SQLite behaviour rather than against our own reading of the spec.
14 lines
328 B
TOML
14 lines
328 B
TOML
[package]
|
|
name = "makepad-sqlite"
|
|
version = "1.0.0"
|
|
edition = "2021"
|
|
description = "Clean-room Rust engine for the SQLite 3 on-disk file format: pager, WAL, b-tree cursors and a read-only SQL layer"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[lib]
|
|
name = "makepad_sqlite"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "sqlq"
|
|
path = "src/bin/sqlq.rs"
|