[package]
name = "rustminidb"
version = "0.2.0"
edition = "2021"
description = "A lightweight embedded database with native REST API"
authors = ["RustMinidb Contributors"]
license = "BSL-1.0"
repository = "https://github.com/rustminidb/rustminidb"
homepage = "https://rustminidb.dev"
documentation = "https://docs.rs/rustminidb"
rust-version = "1.85"
keywords = ["database", "embedded", "sql", "rest-api", "iot"]
categories = ["database-implementations", "embedded"]
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-pc-windows-msvc"
[features]
default = ["server"]
server = ["dep:axum", "dep:tokio", "dep:tower-http"]
[dependencies]
redb = "2"
sqlparser = { version = "0.54", features = ["visitor"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
bincode = "1"
chrono = { version = "0.4", features = ["serde"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
clap = { version = "4", features = ["derive"] }
axum = { version = "0.8", optional = true }
tokio = { version = "1", features = ["full"], optional = true }
tower-http = { version = "0.6", features = ["cors"], optional = true }
rustyline = { version = "15", optional = true }
thiserror = "2"
uuid = { version = "1", features = ["v4"] }
hex = "0.4"
notify = { version = "7", features = ["macos_kqueue"] }
toml = "0.8"
[dev-dependencies]
tempfile = "3"
assert-json-diff = "2"
reqwest = { version = "0.12", features = ["json"] }
fastrand = "2"
[lib]
name = "rustminidb"
path = "src/lib.rs"
[[bin]]
name = "rustminidb"
path = "src/main.rs"