- volume-aware deletion: read-only volumes remove DB only, writable volumes soft-delete to trash with configurable grace period - trash page with restore, worker purge sweep (TRASH_RETENTION_DAYS) - album delete endpoint + sidebar trash icon - asset delete from timeline selection toolbar - all listing queries exclude trashed assets (deleted_at IS NULL) - timeline ordered by EXIF capture date, date-summary endpoint - README rewritten with features, setup, full env var table
33 lines
971 B
TOML
33 lines
971 B
TOML
[package]
|
|
name = "worker"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[[bin]]
|
|
name = "k_photos-worker"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
domain = { workspace = true }
|
|
application = { workspace = true }
|
|
|
|
adapters-postgres = { workspace = true }
|
|
adapters-storage = { workspace = true }
|
|
adapters-nats = { workspace = true }
|
|
adapters-event-transport = { workspace = true }
|
|
adapters-exif = { workspace = true }
|
|
adapters-thumbnail = { workspace = true }
|
|
adapters-sidecar = { workspace = true }
|
|
async-nats = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
uuid = { workspace = true }
|
|
|
|
futures = { workspace = true }
|
|
tokio = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
dotenvy = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
chrono = { workspace = true }
|