rustminidb 0.2.0

A lightweight embedded database with native REST API
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.85"
name = "rustminidb"
version = "0.2.0"
authors = ["RustMinidb Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight embedded database with native REST API"
homepage = "https://rustminidb.dev"
documentation = "https://docs.rs/rustminidb"
readme = "README.md"
keywords = [
    "database",
    "embedded",
    "sql",
    "rest-api",
    "iot",
]
categories = [
    "database-implementations",
    "embedded",
]
license = "BSL-1.0"
repository = "https://github.com/rustminidb/rustminidb"

[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",
]

[lib]
name = "rustminidb"
path = "src/lib.rs"

[[bin]]
name = "rustminidb"
path = "src/main.rs"

[[example]]
name = "quickstart"
path = "examples/quickstart.rs"

[[example]]
name = "stress_test"
path = "examples/stress_test.rs"

[[test]]
name = "api_tests"
path = "tests/api_tests.rs"

[[test]]
name = "unit_tests"
path = "tests/unit_tests.rs"

[dependencies.axum]
version = "0.8"
optional = true

[dependencies.bincode]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.hex]
version = "0.4"

[dependencies.notify]
version = "7"
features = ["macos_kqueue"]

[dependencies.redb]
version = "2"

[dependencies.rustyline]
version = "15"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sqlparser]
version = "0.54"
features = ["visitor"]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]
optional = true

[dependencies.toml]
version = "0.8"

[dependencies.tower-http]
version = "0.6"
features = ["cors"]
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.assert-json-diff]
version = "2"

[dev-dependencies.fastrand]
version = "2"

[dev-dependencies.reqwest]
version = "0.12"
features = ["json"]

[dev-dependencies.tempfile]
version = "3"