# 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 = "toondb-core"
version = "0.2.5"
authors = ["Sushanth <sushanth@toondb.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ToonDB core primitives (TOON format, storage internals, transactions)"
homepage = "https://toondb.dev"
documentation = "https://docs.toondb.dev"
readme = "README.md"
keywords = [
    "database",
    "llm",
    "ai",
    "vector-search",
    "embedded",
]
categories = [
    "database-implementations",
    "data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/toondb/toondb"
resolver = "2"

[features]
default = []
jemalloc = ["tikv-jemallocator"]

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

[dependencies.bincode]
version = "1.3"

[dependencies.byteorder]
version = "1.5"

[dependencies.crc32fast]
version = "1.3"

[dependencies.dashmap]
version = "5.5"

[dependencies.hex]
version = "0.4"

[dependencies.lz4]
version = "1.24"

[dependencies.parking_lot]
version = "0.12"

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

[dependencies.thiserror]
version = "1.0"

[dependencies.tikv-jemallocator]
version = "0.5"
optional = true

[dependencies.toon-format]
version = "0.4"

[dependencies.zstd]
version = "0.13"

[dev-dependencies.proptest]
version = "1.4"

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

[target."cfg(unix)".dependencies.libc]
version = "0.2"
