[package]
name = "synor-database"
version.workspace = true
edition.workspace = true
description = "Multi-model database layer for Synor blockchain"
license.workspace = true

[dependencies]
# Internal crates
synor-types = { path = "../synor-types" }
synor-crypto = { path = "../synor-crypto" }
synor-storage = { path = "../synor-storage" }

# Serialization
serde.workspace = true
serde_json.workspace = true
borsh.workspace = true
bincode = "1.3"

# Utilities
thiserror.workspace = true
parking_lot.workspace = true
tracing.workspace = true
hex.workspace = true

# Hashing
blake3.workspace = true

# Async
tokio = { workspace = true, features = ["sync", "rt-multi-thread", "net"] }

# Data structures
lru = "0.12"
indexmap = "2.2"

# HTTP Gateway
axum.workspace = true
tower-http = { version = "0.5", features = ["cors", "trace"] }

# SQL parsing
sqlparser = "0.43"

# Vector operations (for AI/RAG)
# Using pure Rust for portability

[dev-dependencies]
tempfile.workspace = true
