feat(worker): NotificationHandler and FederationHandler stub

This commit is contained in:
2026-05-14 09:58:31 +02:00
parent a0893b1c69
commit 2cee884fe1
2 changed files with 201 additions and 0 deletions

View File

@@ -2,3 +2,26 @@
name = "worker"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "thoughts-worker"
path = "src/main.rs"
[dependencies]
domain = { workspace = true }
nats = { workspace = true }
event-payload = { workspace = true }
postgres = { workspace = true }
async-nats = { workspace = true }
tokio = { workspace = true, features = ["full"] }
futures = { workspace = true }
async-trait = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
dotenvy = { workspace = true }
serde_json = { workspace = true }
chrono = { workspace = true }
sqlx = { workspace = true }
[dev-dependencies]
domain = { workspace = true, features = ["test-helpers"] }