The package provides SQLite.
The following Cargo features are supported:
bundledto compile SQLite from the source code that comes with the package, ignoring any SQLite libraries that might be installed in the system; andsystemto use the SQLite library that is already installed in the system, ignoring the possibility of compiling it from the source code.
It is also possible to enable various compile-time options by setting
environment variables with the same names, such as
SQLITE_ENABLE_FTS5.
WebAssembly is supported through WASI SDK. To compile for the wasm32-wasip1
or wasm32-wasip2 target, define either
- the
sqlite3_src_wasi_sdk_pathconfiguration flag forrustcor - the
WASI_SDK_PATHenvironment variable
to point to an existing installation of the SDK.
To compile for the wasm32-unknown-unknown target, define in addition either
- the
sqlite3_src_wasi_target_envconfiguration flag forrustcor - the
WASI_TARGET_ENVenvironment variable
to specify which target environment to compile for (e.g., p1).
Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.md.