feat(api): wire POST /tabs/parse endpoint with fetcher and parser

This commit is contained in:
2026-04-08 01:56:06 +02:00
parent fe7d2dbceb
commit 0444d11fb4
4 changed files with 93 additions and 0 deletions

27
crates/api/Cargo.toml Normal file
View File

@@ -0,0 +1,27 @@
[package]
name = "api"
version = "0.1.0"
edition = "2024"
[dependencies]
anyhow = { workspace = true }
axum = { version = "0.8.8", features = ["macros"] }
serde = { workspace = true }
serde_json = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true }
tower-http = { version = "0.6.8", features = [
"cors",
"fs",
"trace",
"tracing",
] }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
uuid = { workspace = true }
rand = { workspace = true }
persistence = { path = "../infrastructure/persistence" }
common = { path = "../common" }
domain = { path = "../domain" }
ug-parser = { path = "../infrastructure/ug-parser" }