43 lines
1.7 KiB
Plaintext
43 lines
1.7 KiB
Plaintext
[workspace]
|
|
members = [
|
|
"crates/domain",
|
|
"crates/application",
|
|
"crates/api-types",
|
|
{% if database == "sqlite" %}"crates/adapters/sqlite",{% endif %}
|
|
{% if database == "postgres" %}"crates/adapters/postgres",{% endif %}
|
|
"crates/adapters/auth",
|
|
{% if storage %}"crates/adapters/storage",{% endif %}
|
|
"crates/presentation",
|
|
"crates/bootstrap",
|
|
{% if worker %}"crates/worker",{% endif %}
|
|
]
|
|
resolver = "2"
|
|
|
|
[workspace.dependencies]
|
|
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "net", "time", "sync"] }
|
|
async-trait = "0.1"
|
|
futures = "0.3"
|
|
bytes = "1.0"
|
|
anyhow = "1.0"
|
|
thiserror = "2.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
uuid = { version = "1.0", features = ["v4", "serde"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
dotenvy = "0.15"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
|
|
axum = { version = "0.8", features = ["macros"] }
|
|
tower-http = { version = "0.6", features = ["cors", "trace"] }
|
|
sqlx = { version = "0.8", features = ["runtime-tokio", "uuid", "chrono", "macros"] }
|
|
jsonwebtoken = "9.3"
|
|
bcrypt = "0.15"
|
|
utoipa = { version = "5.3", features = ["axum_extras", "uuid", "chrono"] }
|
|
utoipa-scalar = { version = "0.3", features = ["axum"] }
|
|
domain = { path = "crates/domain" }
|
|
application = { path = "crates/application" }
|
|
api-types = { path = "crates/api-types" }
|
|
adapters-auth = { path = "crates/adapters/auth" }
|
|
{% if storage %}adapters-storage = { path = "crates/adapters/storage" }{% endif %}
|
|
presentation = { path = "crates/presentation" }
|