feat: worker crate, cargo-generate config, liquid templates, docker

This commit is contained in:
2026-05-18 00:26:17 +02:00
parent 1c5ae5d239
commit 5b0d5bf15d
15 changed files with 239 additions and 116 deletions

View File

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