Add notifications crate shared between API and indexer to send Telegram messages on scan/thumbnail/conversion completion/failure, metadata linking, batch and refresh events. Configurable via a new Notifications tab in the backoffice settings with per-event toggle switches grouped by category. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
39 lines
984 B
TOML
39 lines
984 B
TOML
[package]
|
|
name = "api"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
argon2.workspace = true
|
|
axum.workspace = true
|
|
base64.workspace = true
|
|
async-stream = "0.3"
|
|
chrono.workspace = true
|
|
futures = "0.3"
|
|
image.workspace = true
|
|
jpeg-decoder.workspace = true
|
|
lru.workspace = true
|
|
notifications = { path = "../../crates/notifications" }
|
|
stripstream-core = { path = "../../crates/core" }
|
|
parsers = { path = "../../crates/parsers" }
|
|
rand.workspace = true
|
|
tokio-stream = "0.1"
|
|
regex = "1"
|
|
reqwest.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
sha2.workspace = true
|
|
sqlx.workspace = true
|
|
tokio.workspace = true
|
|
tower.workspace = true
|
|
tower-http = { version = "0.6", features = ["cors"] }
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
uuid.workspace = true
|
|
utoipa.workspace = true
|
|
utoipa-swagger-ui = { workspace = true, features = ["axum"] }
|
|
webp.workspace = true
|
|
scraper.workspace = true
|