Skip to main content

Turso open options (official sdk-kit path)

BoutiqueDB opens the engine through Turso’s language-binding C ABI (sdk-kit / turso.h), not the limited sqlite3-compat experimental toggle.

Surfaces

Official feature tokens

From Turso docs (experimental-features.mdx): views · custom_types · encryption · index_method · autovacuum · vacuum · attach · generated_columns · without_rowid · multiprocess_wal · mvcc_passive_checkpoint Mapped in Swift as TursoExperimentalFeature.

BoutiqueDB defaults

Rebuild vendor lib

Async (cooperative IO)

TursoOpenOptions.asyncIO maps to official sdk-kit async_io.
With asyncIO enabled, parsing and writes happen off MainActor; the engine yields I/O ticks so the UI stays free.

Policy

  • No private DatabaseOpts hacks on sqlite3 open.
  • Experimental flags are opt-in (except curated .tursoEnhanced default for product DX).
  • Capability probes remain a runtime safety net.