[package]
name = "sochdb"
version.workspace = true
edition = "2024"
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
documentation.workspace = true
keywords.workspace = true
categories.workspace = true
rust-version.workspace = true
description = "SochDB - LLM-optimized database with native vector search"
readme = "README.md"

[dependencies]
# Internal crates
sochdb-core = { version = "2.0.3", path = "../sochdb-core", features = ["analytics"] }
sochdb-storage = { version = "2.0.3", path = "../sochdb-storage" }
sochdb-index = { version = "2.0.3", path = "../sochdb-index" }
sochdb-query = { version = "2.0.3", path = "../sochdb-query" }

# Synchronization
parking_lot = "0.12"
crossbeam-skiplist = "0.1"

# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
bincode = "1.3"

# Byte ordering for safe column access
byteorder = "1.5"

# Error handling
thiserror = { workspace = true }

# Collections
hashbrown = "0.14"

# Regex for LIKE pattern matching
regex = "1.10"
tracing = "0.1"
crc32fast = "1.4"
tempfile = "3.10"

[dev-dependencies]
tempfile = "3.10"

[features]
default = []
# Enable SIMD optimizations for column access
simd = []
# Enable embedded mode - uses Database kernel directly
embedded = []
