[feat] introduced server and cli crates with foundational HTTP server and CLI implementation, including routing, health check, and configuration setup

This commit is contained in:
2025-08-20 09:58:21 +02:00
parent 16167d18ff
commit d37daf02f6
12 changed files with 457 additions and 1275 deletions

View File

@@ -1,38 +1,36 @@
[workspace]
members = [
"crates/app",
"crates/api",
"crates/module-api",
"crates/module-host",
"crates/modules/summarizer",
"crates/server",
"crates/cli",
]
resolver = "2"
resolver = "3"
[workspace.package]
edition = "2024"
version = "0.1.0"
rust-version = "1.89"
[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"
anyhow = "1.0.99"
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.142"
tokio = { version = "1.47.1", features = ["rt-multi-thread", "macros", "signal"] }
libloading = "0.8.8"
tracing = "0.1.41"
once_cell = "1.21.3"
toml = "0.9.5"
unicode-segmentation = "1.12.0"
axum = "0.8.4"
sha2 = "0.10.9"
sqlx = { version = "0.8.6", default-features = false, features = ["runtime-tokio-rustls", "macros", "postgres", "uuid", "chrono", "migrate"] }
hex = "0.4.3"
num_cpus = "1.17.0"
unicode-segmentation = "1.12.0"
readability = "0.3.0"
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "fmt"] }
scraper = "0.23.1"
libloading = "0.8"
async-trait = "0.1"
once_cell = "1.19"
num_cpus = "1.16"
dotenv = "0.15.0"
# Dev-only deps centralized (optional)
tokio-test = "0.4"
axum-test = "17.3"
# dev/test utilities in the workspace
tokio-test = "0.4.4"
axum-test = "17.3.0"