# 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"
name = "tc-state"
version = "0.5.0"
authors = ["code@tinychain.net"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TinyChain's general state enum"
readme = "README.md"
keywords = [
    "chain",
    "collection",
    "object",
    "scalar",
    "generic",
]
categories = ["data-structures"]
license = "Apache-2.0"
repository = "https://github.com/haydnv/tinychain.git"

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

[dependencies.async-hash]
version = "0.5"

[dependencies.async-trait]
version = "0.1"

[dependencies.bytes]
version = "1.5"

[dependencies.destream]
version = "0.8"

[dependencies.futures]
version = "0.3"

[dependencies.get-size]
version = "0.1"

[dependencies.get-size-derive]
version = "0.1"

[dependencies.log]
version = "0.4"

[dependencies.num_cpus]
version = "1.16"

[dependencies.safecast]
version = "0.2"

[dependencies.tbon]
version = "0.6"

[dependencies.tc-chain]
version = "0.5"
optional = true

[dependencies.tc-collection]
version = "0.5"
optional = true

[dependencies.tc-error]
version = "0.12"

[dependencies.tc-scalar]
version = "0.5"

[dependencies.tc-transact]
version = "0.21"

[dependencies.tc-value]
version = "0.13"

[dependencies.tcgeneric]
version = "0.11"

[dependencies.tokio]
version = "1.39"
features = ["fs"]

[dependencies.tokio-util]
version = "0.7"

[features]
btree = [
    "tc-collection/btree",
    "tc-chain/btree",
    "collection",
]
chain = [
    "tc-chain",
    "collection",
]
collection = ["tc-collection"]
opencl = [
    "tc-collection/opencl",
    "tc-chain/opencl",
]
table = [
    "tc-collection/btree",
    "tc-collection/table",
    "tc-chain/table",
    "collection",
]
tensor = [
    "tc-collection/tensor",
    "tc-chain/tensor",
    "collection",
]
