mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 11:22:25 -05:00
# Description Upgrades ncruces/go-sqlite3 to 0.26 which includes SQLite 3.50. ## Checklist Please put an x inside each checkbox to indicate that you've read and followed it: `[ ]` -> `[x]` If this is a documentation change, only the first checkbox must be filled (you can delete the others if you want). - [x] I/we have read the [GoToSocial contribution guidelines](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md). - [ ] I/we have discussed the proposed changes already, either in an issue on the repository, or in the Matrix chat. - [x] I/we have not leveraged AI to create the proposed changes. - [ ] I/we have performed a self-review of added code. - [ ] I/we have written code that is legible and maintainable by others. - [ ] I/we have commented the added code, particularly in hard-to-understand areas. - [ ] I/we have made any necessary changes to documentation. - [ ] I/we have added tests that cover new code. - [ ] I/we have run tests and they pass locally with the changes. - [ ] I/we have run `go fmt ./...` and `golangci-lint run`. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4218 Co-authored-by: Daenney <daenney@noreply.codeberg.org> Co-committed-by: Daenney <daenney@noreply.codeberg.org>
2 KiB
2 KiB
Embeddable Wasm build of SQLite
This folder includes an embeddable Wasm build of SQLite 3.50.0 for use with
github.com/ncruces/go-sqlite3.
The following optional features are compiled in:
- math functions
- FTS5
- JSON
- R*Tree
- GeoPoly
- Spellfix1
- soundex
- stat4
- base64
- decimal
- ieee754
- regexp
- series
- uint
- time
See the configuration options, and patches applied.
Built using wasi-sdk,
and binaryen.
The build is easily reproducible, and verifiable, using Artifact Attestations.
Customizing the build
You can use your own custom build of SQLite.
Examples of custom builds of SQLite are:
github.com/ncruces/go-sqlite3/embed/bcw2built from a branch supportingBEGIN CONCURRENTand Wal2.github.com/asg017/sqlite-vec-go-bindings/ncruceswhich includes thesqlite-vecvector search extension.