mirror of
https://github.com/tursodatabase/libsql.git
synced 2025-02-23 03:27:25 +00:00
A common complain with libSQL is how to run extensions. The main mechanism, with a .so, has a lot of issues around how those .so are distributed. The most common extensions are the ones in the sqlean package. We can improve this experience by bundling them in our sqlite build. Not all SQLean extensions are kosher: some of them, like fileio, use the vfs. Others, are deemed too complex. The extensions included here are a subset that we deem important enough, and low risk enough, to just be a part of the main bundle.
46 lines
1.1 KiB
TOML
46 lines
1.1 KiB
TOML
[package]
|
|
name = "libsql-ffi"
|
|
version = "0.5.0"
|
|
edition = "2021"
|
|
build = "build.rs"
|
|
license = "MIT"
|
|
description = "Native bindings to libSQL"
|
|
repository = "https://github.com/tursodatabase/libsql"
|
|
exclude = ["bundled/SQLite3MultipleCiphers/build", "bundled/SQLite3MultipleCiphers/test"]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
libsql-wasmtime-bindings = { version = "0.2.1", optional = true }
|
|
|
|
[build-dependencies]
|
|
bindgen = "0.66.1"
|
|
cc = "1.0"
|
|
glob = "0.3"
|
|
|
|
[features]
|
|
session = []
|
|
wasmtime-bindings = ["dep:libsql-wasmtime-bindings"]
|
|
multiple-ciphers = []
|
|
bundled-sqlcipher = []
|
|
bundled-sqlcipher-vendored-openssl = []
|
|
with-asan = []
|
|
wasm32-wasi-vfs = []
|
|
unlock_notify = []
|
|
preupdate_hook = []
|
|
sqlcipher = []
|
|
sqlean-extension-uuid = []
|
|
sqlean-extension-crypto = []
|
|
sqlean-extension-fuzzy = []
|
|
sqlean-extension-math = []
|
|
sqlean-extension-stats = []
|
|
sqlean-extension-text = []
|
|
sqlean-extensions = [
|
|
"sqlean-extension-uuid",
|
|
"sqlean-extension-crypto",
|
|
"sqlean-extension-fuzzy",
|
|
"sqlean-extension-math",
|
|
"sqlean-extension-stats",
|
|
"sqlean-extension-text"
|
|
]
|