fastC

fastc-core · FFI bindings to libsqlite3

fastc-core-sqlite

fastc-core-sqlite is a thin FFI binding to the system libsqlite3. It exposes prepared statements, parameterized queries, and transactions, and — because SQLite touches the filesystem — its API is gated on CapFsWrite.

capability CapFsWrite

What it ships (v0.1.0)

  • Prepared statements and parameterized queries
  • Transactions
  • Thin FFI to system libsqlite3 (not vendored)
  • Gated on CapFsWrite

When to use it

Embedded, single-file storage with auditable filesystem authority.

Example

use sqlite::open;

fn db(c: ref(CapFsWrite)) -> Conn {
  return open(c, "app.db");
}
fastc-core-sqlite — minimal usage fastc-core-sqlite v0.1.0

Roadmap

A higher-level query builder is under consideration for v0.2.

Provenance

Like every fastc-core package, fastc-core-sqlite ships with content-hashed, cosign-keyless-signed releases and SLSA L3 provenance. It is vendored, not pulled from a central registry — there is no account to compromise.

See also