- worker: sends email_outbox mail over SMTP (lettre), woken by LISTEN/NOTIFY, SKIP LOCKED claiming, retries with backoff, hu/en templates (text + HTML), hourly cleanup of expired data - migration 0002: next_attempt_at, failed_at, notify trigger - docker-compose.override.yml: Mailpit for development only - Dockerfiles: lock shared cargo cache mounts for parallel builds Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
56 lines
1.9 KiB
TOML
56 lines
1.9 KiB
TOML
[workspace]
|
|
resolver = "3"
|
|
members = [
|
|
"crates/swisseph-sys",
|
|
"crates/astro-engine",
|
|
"crates/geo-tz",
|
|
"crates/service-kit",
|
|
"crates/db",
|
|
"crates/horoscope-client",
|
|
"services/horoscope-api",
|
|
"services/backend",
|
|
"services/worker",
|
|
]
|
|
|
|
[workspace.package]
|
|
edition = "2024"
|
|
version = "0.1.0"
|
|
license = "AGPL-3.0-or-later"
|
|
publish = false
|
|
|
|
[workspace.dependencies]
|
|
swisseph-sys = { path = "crates/swisseph-sys" }
|
|
astro-engine = { path = "crates/astro-engine" }
|
|
geo-tz = { path = "crates/geo-tz" }
|
|
service-kit = { path = "crates/service-kit" }
|
|
db = { path = "crates/db" }
|
|
horoscope-client = { path = "crates/horoscope-client" }
|
|
|
|
anyhow = "1"
|
|
argon2 = { version = "0.5", features = ["std"] }
|
|
axum = "0.8"
|
|
axum-extra = { version = "0.10", features = ["cookie"] }
|
|
base64 = "0.22"
|
|
jsonwebtoken = { version = "9", default-features = false }
|
|
lettre = { version = "0.11", default-features = false, features = ["builder", "hostname", "smtp-transport", "tokio1", "tokio1-rustls", "webpki-roots", "ring"] }
|
|
rand = "0.9"
|
|
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
|
|
sha2 = "0.10"
|
|
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio", "postgres", "macros", "migrate", "uuid", "time", "json"] }
|
|
time = { version = "0.3", features = ["serde-well-known"] }
|
|
uuid = { version = "1", features = ["v7", "serde"] }
|
|
deunicode = "1"
|
|
jiff = { version = "0.2", default-features = false, features = ["std", "tzdb-zoneinfo", "tz-fat"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
thiserror = "2"
|
|
tokio = { version = "1", features = ["macros", "rt-multi-thread", "net", "signal"] }
|
|
tower-http = { version = "0.6", features = ["trace", "cors"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
strip = true
|