0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-05-17 11:16:56 +00:00
Files
libsql/libsql-sys/Cargo.toml
2024-03-07 12:57:53 +00:00

41 lines
1.1 KiB
TOML

[package]
name = "libsql-sys"
version = "0.4.0"
edition = "2021"
license = "MIT"
description = "Native bindings to libSQL"
repository = "https://github.com/tursodatabase/libsql"
keywords = ["libsql", "sqlite", "ffi", "bindings", "database"]
categories = ["external-ffi-bindings"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bytes = "1.5.0"
libsql-ffi = { version = "0.2", path = "../libsql-ffi/" }
once_cell = "1.18.0"
rusqlite = { workspace = true, features = ["trace"], optional = true }
tracing = "0.1.37"
zerocopy = { version = "0.7.28", features = ["derive"] }
serde = { version = "1.0", features = ["derive", "rc"], optional = true }
prost = { version = "0.12", optional = true }
base64 = { version = "0.21", optional = true }
[dev-dependencies]
serde_json = "1.0"
[features]
default = ["api"]
api = ["wal"]
wal = []
rusqlite = ["dep:rusqlite"]
wasmtime-bindings = ["libsql-ffi/wasmtime-bindings"]
unix-excl-vfs = []
encryption = ["libsql-ffi/multiple-ciphers"]
serde = ["dep:serde"]
hrana = [
"serde",
"dep:prost",
"dep:base64"
]