Artifact a42cf386efdd22d14514ac38e9b36b1558541c17753da11745eca9814e322825:
- File
docs/site/content/docs/reference/sdk/db/driver/ncruces/_index.md
— part of check-in
[41dfd5c149]
at
2026-10-23 21:12:44
on branch main
— docs: landing page from the approved design, docs in its typography
The home page renders its hero figure, conformance table, version and footer from the generated data and site params. Docs pages keep Hextra with Fraunces, Inter and JetBrains Mono and rust as the accent in both themes. Add the get-started pages (install, CLI quickstart, embed in Go, first sync), the conformance reference rendered from data, and point the nav, README and old links at the new layout. (user: [email protected], size: 802) [annotate] [blame] [check-ins using] [more...]
--- title: db/driver/ncruces weight: 20 --- Wasm-friendly SQLite driver based on `ncruces/go-sqlite3`. ```go import _ "github.com/danmestas/go-libfossil/db/driver/ncruces" ``` Importing this package registers an `ncruces` driver (driver name `"sqlite3"`) with libfossil's `db` registry. The package exports no public API of its own — register-on-import is the contract. On `js/wasm` targets the package additionally imports `go-sqlite3-opfs`, routing the OPFS virtual filesystem through the same driver registration so browser-side builds get persistent storage automatically. Use this driver when you need a smaller Wasm footprint than `modernc` provides, or for build configurations where `ncruces`'s tradeoffs are preferred. See [db](/docs/reference/sdk/db/api/) for the registry interface.