0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-06-18 20:09:05 +00:00
Files
libsql/libsql-server/sqld/Cargo.toml
Piotr Sarna 76e88487c2 sqld: turn off wasm functions by default
It also transiently fixes the "malformed db" issue with embedded
replicas. Those replicas didn't create a "libsql_wasm_func_table"
when first connecting, and sqld did, due to having wasm functions
enabled.
But, since our sqld parser still doesn't accept CREATE FUNCTION
yet, there's no harm in disabling the support.
2023-10-17 16:33:27 +02:00

105 lines
3.6 KiB
TOML

[package]
name = "sqld"
version = "0.21.9"
edition = "2021"
default-run = "sqld"
[dependencies]
anyhow = "1.0.66"
async-lock = "2.6.0"
async-trait = "0.1.58"
axum = { version = "0.6.18", features = ["headers"] }
axum-extra = "0.7"
base64 = "0.21.0"
bincode = "1.3.3"
bottomless = { version = "0", path = "../bottomless", features = ["libsql_linked_statically"] }
bytemuck = { version = "1.13.0", features = ["derive"] }
bytes = { version = "1.2.1", features = ["serde"] }
bytesize = { version = "1.2.0", features = ["serde"] }
clap = { version = "4.0.23", features = [ "derive", "env", "string" ] }
# console-subscriber = { version = "0.1.10", optional = true }
console-subscriber = { git = "https://github.com/tokio-rs/console.git", rev = "5a80b98", optional = true }
crc = "3.0.0"
crossbeam = "0.8.2"
enclose = "1.1"
fallible-iterator = "0.3.0"
futures = "0.3.25"
futures-core = "0.3"
hmac = "0.12"
hyper = { version = "0.14.23", features = ["http2"] }
hyper-tungstenite = "0.10"
itertools = "0.10.5"
jsonwebtoken = "8.2.0"
memmap = "0.7.0"
mimalloc = { version = "0.1.36", default-features = false }
nix = { version = "0.26.2", features = ["fs"] }
once_cell = "1.17.0"
parking_lot = "0.12.1"
pin-project-lite = "0.2.13"
priority-queue = "1.3"
prost = "0.12"
rand = "0.8"
regex = "1.7.0"
reqwest = { version = "0.11.16", features = ["json", "rustls-tls"], default-features = false }
rusqlite = { workspace = true }
semver = "1.0.18"
serde = { version = "1.0.149", features = ["derive", "rc"] }
serde_json = { version = "1.0.91", features = ["preserve_order"] }
sha2 = "0.10"
sha256 = "1.1.3"
sqld-libsql-bindings = { version = "0", path = "../sqld-libsql-bindings" }
sqlite3-parser = { version = "0.11.0", default-features = false, features = [ "YYNOERRORRECOVERY" ] }
tempfile = "3.3.0"
thiserror = "1.0.38"
tokio = { version = "1.22.2", features = ["rt-multi-thread", "net", "io-std", "io-util", "time", "macros", "sync", "fs", "signal"] }
tokio-stream = "0.1.11"
tokio-tungstenite = "0.19"
tokio-util = { version = "0.7.8", features = ["io", "io-util"] }
tonic = { version = "0.10.0", features = ["tls"] }
tonic-web = "0.10"
tower = { version = "0.4.13", features = ["make"] }
tower-http = { version = "0.3.5", features = ["compression-full", "cors", "trace"] }
tracing = "0.1.37"
tracing-panic = "0.1"
tracing-subscriber = { version = "0.3.16", features = ["env-filter"] }
url = { version = "2.3", features = ["serde"] }
uuid = { version = "1.3", features = ["v4", "serde"] }
chrono = { version = "0.4.26", features = ["serde"] }
# hyper-rustls = "0.24.1"
hyper-rustls = { git = "https://github.com/rustls/hyper-rustls.git", rev = "163b3f5" }
rustls-pemfile = "1.0.3"
rustls = "0.21.7"
async-stream = "0.3.5"
libsql = { git = "https://github.com/tursodatabase/libsql", rev = "8847ca05c", optional = true }
metrics = "0.21.1"
metrics-exporter-prometheus = "0.12.1"
[dev-dependencies]
proptest = "1.0.0"
rand = "0.8.5"
tempfile = "3.3.0"
insta = { version = "1.26.0", features = ["json"] }
arbitrary = { version = "1.3.0", features = ["derive_arbitrary"] }
libsql-client = { version = "0.6.5", default-features = false, features = ["reqwest_backend"] }
url = "2.3"
env_logger = "0.10"
aws-config = "0.55"
aws-sdk-s3 = "0.28"
turmoil = "0.5.6"
hyper = { version = "0.14", features = ["client"] }
[build-dependencies]
prost-build = "0.12.0"
protobuf-src = "1.1.0"
tonic-build = "0.10"
vergen = { version = "8", features = ["build", "git", "gitcl"] }
[features]
default = []
unix-excl-vfs = ["sqld-libsql-bindings/unix-excl-vfs"]
debug-tools = ["console-subscriber", "rusqlite/trace", "tokio/tracing"]
sim-tests = ["libsql"]
wasm-udfs = ["rusqlite/bundled-libsql-wasm-experimental"]