[package]
name = "b-table"
version = "0.4.0"
authors = ["code@tinychain.net"]
edition = "2024"
description = "A persistent database table based on b-tree"
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/haydnv/b-table"

keywords = ["persistent", "ordered", "indexed", "relational", "table"]
categories = ["database", "database-implementations", "data-structures"]

[features]
all = ["logging", "stream"]
logging = ["log", "b-tree/logging", "freqfs/logging"]
stream = ["b-tree/stream", "destream/smallvec"]

[[example]]
name = "example"
required-features = ["stream"]

[dependencies]
b-tree = "0.5"
destream = { version = "0.10", optional = true }
freqfs = "0.12"
futures = "0.3"
log = { version = "0.4", features = ["release_max_level_info"], optional = true }
num_cpus = "1.17"
pin-project = "1.1"
safecast = "0.2"
smallvec = "1.15"

[dev-dependencies]
destream = "0.10"
destream_json = { version = "0.15", features = ["value"] }
number-general = "0.14"
rand = "0.10"
tokio = { version = "1.52", features = ["macros"] }
