[workspace]
members = [
    "crates/app",
    "crates/api",
    "crates/module-api",
    "crates/module-host",
    "crates/modules/summarizer",
]
resolver = "2"

[workspace.package]
edition = "2024"
version = "0.1.0"

[workspace.dependencies]
anyhow = "1.0"
tokio = "1"
axum = "0.8.4"
serde = "1.0"
serde_json = "1.0"
sqlx = "0.8"
dotenv = "0.15"
tracing = "0.1"
tracing-subscriber = "0.3"
toml = "0.9.5"
unicode-segmentation = "1.12.0"
sha2 = "0.10.9"
hex = "0.4.3"
readability = "0.3.0"
scraper = "0.23.1"
libloading = "0.8"
async-trait = "0.1"
once_cell = "1.19"
num_cpus = "1.16"

# Dev-only deps centralized (optional)
tokio-test = "0.4"
axum-test = "17.3"
