flowdb 0.8.0

A high-performance embedded time-series + JSON document storage engine (LSM-tree), with built-in IndexedDB-compatible API.
Documentation
# 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 = "2024"
name = "flowdb"
version = "0.8.0"
authors = ["jinti<shenjindi@fourz.cn>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance embedded time-series + JSON document storage engine (LSM-tree), with built-in IndexedDB-compatible API."
readme = "README.md"
keywords = [
    "database",
    "embedded",
    "lsm-tree",
    "json",
    "indexeddb",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/restsend/flowdb"

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

[[bin]]
name = "flowdb-stress"
path = "src/bin/flowdb-stress.rs"

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

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

[[example]]
name = "bench-storage"
path = "examples/bench-storage.rs"

[[example]]
name = "flowdb-vs-rocksdb"
path = "examples/flowdb-vs-rocksdb.rs"

[[example]]
name = "supabase-server"
path = "examples/supabase-server.rs"

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

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

[[bench]]
name = "flowdb_bench"
path = "benches/flowdb_bench.rs"
harness = false

[dependencies.ahash]
version = "0.8"

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

[dependencies.flowdb-derive]
version = "0.7.6"

[dependencies.hdrhistogram]
version = "7"

[dependencies.lru]
version = "0.18"

[dependencies.lz4_flex]
version = "0.13.1"

[dependencies.memmap2]
version = "0.9"

[dependencies.parking_lot]
version = "0.12"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "1.1.2"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"

[dev-dependencies.arbitrary]
version = "1"
features = ["derive"]

[dev-dependencies.axum]
version = "0.8"

[dev-dependencies.criterion]
version = "0.8.2"

[dev-dependencies.rocksdb]
version = "0.24"

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

[dev-dependencies.tokio]
version = "1"
features = ["full"]

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

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(coverage)",
    "cfg(coverage_nightly)",
]