# 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"
rust-version = "1.84"
name = "cypherlite-storage"
version = "1.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Storage engine with WAL, B+Tree indexing, and ACID transactions for CypherLite"
homepage = "https://github.com/Epsilondelta-ai/CypherLite"
readme = "README.md"
keywords = [
    "storage",
    "wal",
    "btree",
    "acid",
    "embedded-database",
]
categories = [
    "database-implementations",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Epsilondelta-ai/CypherLite"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["temporal-core"]
full-temporal = [
    "hypergraph",
    "cypherlite-core/full-temporal",
]
hypergraph = [
    "subgraph",
    "cypherlite-core/hypergraph",
]
plugin = ["cypherlite-core/plugin"]
subgraph = [
    "temporal-edge",
    "cypherlite-core/subgraph",
]
temporal-core = ["cypherlite-core/temporal-core"]
temporal-edge = [
    "temporal-core",
    "cypherlite-core/temporal-edge",
]

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

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

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

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

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

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

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

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

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

[dependencies.bincode]
version = "1"

[dependencies.cypherlite-core]
version = "1.2.2"

[dependencies.parking_lot]
version = "0.12"

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

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

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

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