# 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 = "b-table"
version = "0.4.0"
authors = ["code@tinychain.net"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A persistent database table based on b-tree"
readme = "README.md"
keywords = [
    "persistent",
    "ordered",
    "indexed",
    "relational",
    "table",
]
categories = [
    "database",
    "database-implementations",
    "data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/haydnv/b-table"

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

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

[[example]]
name = "example"
path = "examples/example.rs"
required-features = ["stream"]

[dependencies.b-tree]
version = "0.5"

[dependencies.destream]
version = "0.10"
optional = true

[dependencies.freqfs]
version = "0.12"

[dependencies.futures]
version = "0.3"

[dependencies.log]
version = "0.4"
features = ["release_max_level_info"]
optional = true

[dependencies.num_cpus]
version = "1.17"

[dependencies.pin-project]
version = "1.1"

[dependencies.safecast]
version = "0.2"

[dependencies.smallvec]
version = "1.15"

[dev-dependencies.destream]
version = "0.10"

[dev-dependencies.destream_json]
version = "0.15"
features = ["value"]

[dev-dependencies.number-general]
version = "0.14"

[dev-dependencies.rand]
version = "0.10"

[dev-dependencies.tokio]
version = "1.52"
features = ["macros"]
