init: scaffold from k-template with postgres + worker

This commit is contained in:
2026-05-31 03:08:38 +02:00
commit f9cb142c3b
70 changed files with 5269 additions and 0 deletions

21
crates/worker/Cargo.toml Normal file
View File

@@ -0,0 +1,21 @@
[package]
name = "worker"
version = "0.1.0"
edition = "2024"
[[bin]]
name = "k_photos-worker"
path = "src/main.rs"
[dependencies]
domain = { workspace = true }
adapters-postgres = { path = "../adapters/postgres" }
tokio = { workspace = true }
anyhow = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
dotenvy = { workspace = true }
async-trait = { workspace = true }