caelum0x 9429ff20da feat(mail): Scribase Mail Rust platform: sending core, accounts, auth, SMTP submission, Supabase hook, deliverability, TS SDK, docs
Clean-room Rust rewrite (written without reference to useSend source).
Crates: mail-types, mail-core, mail-server, mail-auth, mail-submit,
mail-hooks, mail-deliverability; sdks/ts (@scribase/mail); docs/.
Each verified by running locally (see plans/scribase-mail-rust-2026-11-12.md).
mail-mta, mail-inbound, mail-oci are still in progress and not in this commit.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-13 01:03:09 +03:00

54 lines
2.1 KiB
TOML

[package]
name = "mail-deliverability"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
description = "Scribase Mail deliverability monitoring: DNS blocklist checks, sending-domain auth health (SPF/DKIM/DMARC/MTA-STS/TLS-RPT/BIMI/PTR), per-provider delivery stats, DMARC aggregate pass rates, Google Postmaster Tools, threshold alerts and the public delivery-record page. Independent implementation, written without reference to useSend source."
[lib]
path = "src/lib.rs"
[[bin]]
name = "mail-deliverability"
path = "src/main.rs"
[dependencies]
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
tokio = { version = "1", features = ["rt-multi-thread", "macros", "time", "sync", "net", "signal", "fs"] }
axum = { version = "0.8", features = ["json", "query"] }
sqlx = { version = "0.8", default-features = false, features = [
"runtime-tokio-rustls",
"postgres",
"uuid",
"time",
"json",
"migrate",
"macros",
] }
# Reversed-IP DNSBL lookups and record checks against a configurable resolver.
hickory-resolver = { version = "0.26", default-features = false, features = ["tokio", "system-config"] }
# Record parsers (SPF syntax, DMARC, MTA-STS, TLS-RPT). Renamed: the workspace
# has its own `mail-auth` crate (magic links).
mail-auth-lib = { package = "mail-auth", version = "0.15.1", default-features = false, features = ["rust-crypto", "dns-hickory"] }
# MTA-STS policy fetch, Google Postmaster Tools API, alert webhooks, HTTP mail sender.
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "json"] }
# Alert email over SMTP.
lettre = { version = "0.11", default-features = false, features = ["tokio1-rustls-tls", "smtp-transport"] }
# Google service-account JWT (RS256).
rsa = { version = "0.9", features = ["sha2"] }
sha2 = "0.10"
base64 = "0.22"
time = { version = "0.3", features = ["serde", "formatting", "parsing", "macros"] }
uuid = { version = "1", features = ["v4", "serde"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
anyhow = "1"