- crates: common→application, api→presentation, infrastructure/*→adapters/* - new crates: api-types, infra-wiring - domain: errors/, models/, value_objects/, ports/, services/ - application: CQRS use cases (songs/, tabs/) w/ commands, queries, deps - unified DomainError replaces RepositoryError - workspace deps, unused dep cleanup - fix: parse plain-text chord lines (UG drops spans mid-song) - tests extracted to separate modules (tests/ dirs)
40 lines
1.1 KiB
TOML
40 lines
1.1 KiB
TOML
[workspace]
|
|
members = [
|
|
"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" }
|
|
sqlite = { path = "crates/adapters/sqlite" }
|
|
ug-parser = { path = "crates/adapters/ug-parser" }
|
|
|
|
[profile.release]
|
|
strip = true
|
|
codegen-units = 1
|
|
opt-level = 3
|