[package]
name = "turso-orm-driver"
description = "Connection pool, transactions and typed rows for the Turso database"
documentation = "https://docs.rs/turso-orm-driver"
authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
readme = "README.md"
repository.workspace = true
rust-version.workspace = true
version.workspace = true
[package.metadata.docs.rs]
features = [
"mimalloc",
"serverless",
"sync",
"with-chrono",
"with-json",
"with-rust_decimal",
"with-uuid",
]
rustdoc-args = ["--cfg", "docsrs"]
[lints]
workspace = true
[features]
default = []
fts = ["turso/fts"]
mimalloc = ["turso/mimalloc"]
sync = ["turso/sync"]
serverless = ["dep:turso_serverless"]
with-chrono = ["turso-sql/with-chrono", "dep:chrono"]
with-json = ["turso-sql/with-json", "dep:serde_json"]
with-rust_decimal = ["turso-sql/with-rust_decimal", "dep:rust_decimal"]
with-uuid = ["turso-sql/with-uuid", "dep:uuid"]
[dependencies]
async-trait = { workspace = true }
chrono = { workspace = true, optional = true }
futures-util = { workspace = true }
rust_decimal = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["sync", "time"] }
tracing = { workspace = true }
turso = { workspace = true }
turso-sql = { workspace = true }
turso_serverless = { workspace = true, optional = true }
uuid = { workspace = true, optional = true }
[dev-dependencies]
tempfile = { workspace = true }
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }