[package]
edition = "2021"
rust-version = "1.75"
name = "dactyl-db"
version = "0.9.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Interchangeably read and write to a lightweight Rust local store or cloud-hosted Vercel Neon instances behind one facade."
readme = "README.md"
keywords = [
"datastore",
"vercel",
"postgres",
"sql",
"sqlite",
]
categories = [
"database",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/DecapodLabs/dactyl"
[features]
default = []
neon = ["dep:reqwest"]
sqlite = ["dep:libloading"]
[lib]
name = "dactyl_db"
path = "src/lib.rs"
[[example]]
name = "readme_example"
path = "examples/readme_example.rs"
[[test]]
name = "backend_contract"
path = "tests/backend_contract.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "release_configuration"
path = "tests/release_configuration.rs"
[[test]]
name = "sqlite_existing"
path = "tests/sqlite_existing.rs"
[[test]]
name = "storage_contract"
path = "tests/storage_contract.rs"
[[test]]
name = "storage_fixtures"
path = "tests/storage_fixtures.rs"
[dependencies.libloading]
version = "0.8.9"
optional = true
[dependencies.reqwest]
version = "0.12"
features = [
"blocking",
"json",
"rustls-tls",
]
optional = true
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "1"
[dev-dependencies.axum]
version = "0.7"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = ["full"]