# This is a virtual manifest grouped under the parent workspace in /Users/Akasha/Development/syntaxis/Cargo.toml
# All workspace configuration, dependencies, and profiles are defined in the root workspace

[workspace.package]
version = "0.1.0"
edition = "2021"
rust-version = "1.75"
authors = ["syntaxis contributors"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/syntaxis/core"

[workspace.dependencies]
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.9"
uuid = { version = "1.18", features = ["v4", "serde"] }

# Error handling
thiserror = "2.0"
anyhow = "1.0"

# Async runtime
tokio = { version = "1.48", features = ["full"] }
async-trait = "0.1"
futures = "0.3"

# Web framework
axum = { version = "0.8", features = ["ws"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["trace", "cors", "fs"] }
tokio-rustls = "0.26"
rustls = "0.23"
rustls-pemfile = "2.2"

# HTTP client
reqwest = { version = "0.12", features = ["json"] }

# Logging/Tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

# Date/time
chrono = { version = "0.4", features = ["serde"] }

# File operations
camino = "1.2"
walkdir = "2.5"

# Templating
handlebars = "6.3"

# Database
sqlx = { version = "0.8", features = ["runtime-tokio-native-tls", "sqlite", "macros"] }
sqlx-sqlite = "0.8"
surrealdb = { version = "2.3", features = ["kv-mem", "kv-rocksdb"] }
serde_bytes = "0.11"

# Other utilities
indexmap = "2.12"
regex = "1.12"
moka = { version = "0.12", features = ["future"] }
tokio-tungstenite = "0.28"
jsonwebtoken = { version = "10.2", features = ["aws_lc_rs"] }
once_cell = "1.21"
prometheus = { version = "0.14", features = ["process"] }
async-nats = "0.45"
rand_core = "0.6"
rand = "0.8"

# Dev dependencies
tokio-test = "0.4"
tempfile = "3.23"
assert_cmd = "2.1"
predicates = "3.1"
criterion = { version = "0.7", features = ["html_reports"] }
mockito = "1.6"
