Files
pocket-chords/Cargo.toml
Gabriel Kaszewski 7bd27d9b9c feat: JWT auth, /api prefix, SPA serving, OpenAPI, lean main.rs
- auth: register/login/refresh/logout w/ JWT+Argon2, protected mutations
- domain: User, RefreshSession, auth ports, Unauthorized/Forbidden errors
- presentation: context/state/factory/errors/extractors/openapi modules
- routes behind /api, SPA served from root w/ fallback
- OpenAPI Scalar at /docs
- frontend ssr:false, single-binary Dockerfile
2026-07-11 21:28:52 +02:00

42 lines
1.2 KiB
TOML

[workspace]
members = [
"crates/adapters/auth",
"crates/adapters/sqlite",
"crates/adapters/ug-parser",
"crates/api-types",
"crates/application",
"crates/domain",
"crates/infra-wiring",
"crates/presentation",
]
resolver = "2"
[workspace.dependencies]
tokio = { version = "1.51.0", features = ["full"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
anyhow = "1.0.102"
thiserror = "2.0.18"
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
async-trait = "0.1.89"
uuid = { version = "1.23.0", features = ["v4", "serde"] }
rand = "0.10.0"
reqwest = "0.13.2"
scraper = "0.23"
sqlx = { version = "0.8.6", features = ["runtime-tokio-rustls", "sqlite", "uuid", "macros"] }
axum = { version = "0.8.8", features = ["macros"] }
domain = { path = "crates/domain" }
application = { path = "crates/application" }
api-types = { path = "crates/api-types" }
infra-wiring = { path = "crates/infra-wiring" }
auth = { path = "crates/adapters/auth" }
sqlite = { path = "crates/adapters/sqlite" }
ug-parser = { path = "crates/adapters/ug-parser" }
[profile.release]
strip = true
codegen-units = 1
opt-level = 3