19 releases
0.7.0 | Mar 28, 2025 |
---|---|
0.6.1 | Apr 20, 2024 |
0.6.0 | Jan 21, 2024 |
0.5.1 | Jun 17, 2023 |
0.2.1 | Jun 16, 2016 |
#1259 in Database interfaces
58,009 downloads per month
Used in 37 crates
(6 directly)
10MB
205K
SLoC
sqlite3-src

The package provides SQLite.
The following Cargo features are supported:
bundled
to compile SQLite from the source code that comes with the package, ignoring any SQLite libraries that might be installed in the system.
It is also possible to enable various compile-time options by setting
environment variables with the same names, such as
SQLITE_ENABLE_FTS5
.
WebAssembly
WebAssembly is supported through WASI SDK. To compile for the wasm32-wasip1
or wasm32-wasip2
target, define either
- the
sqlite3_src_wasi_sdk_path
configuration flag forrustc
or - the
WASI_SDK_PATH
environment 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_env
configuration flag forrustc
or - the
WASI_TARGET_ENV
environment variable
to specify which target environment to compile for (e.g., p1
).
Contribution
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.