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>
43 lines
1.1 KiB
TOML
43 lines
1.1 KiB
TOML
[package]
|
|
name = "mail-auth"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "Passwordless auth for Scribase Mail: magic links, email OTP, email verification, password reset, EdDSA session JWTs"
|
|
|
|
[dependencies]
|
|
mail-types.workspace = true
|
|
async-trait.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
thiserror.workspace = true
|
|
|
|
axum = { version = "0.8.9", features = ["json", "query", "tokio", "http1"] }
|
|
sqlx = { version = "0.8.6", default-features = false, features = [
|
|
"runtime-tokio",
|
|
"tls-rustls",
|
|
"postgres",
|
|
"migrate",
|
|
"macros",
|
|
"derive",
|
|
"uuid",
|
|
"time",
|
|
"json",
|
|
] }
|
|
tokio = { version = "1.47", features = ["rt-multi-thread", "macros", "net", "fs"] }
|
|
tracing = "0.1.41"
|
|
rand = "0.9.4"
|
|
sha2 = "0.10.9"
|
|
subtle = "2.6.1"
|
|
ed25519-dalek = "2.2.0"
|
|
base64 = "0.22.1"
|
|
time = { version = "0.3.47", features = ["serde", "formatting", "macros"] }
|
|
url = "2.5.8"
|
|
uuid = { version = "1.18", features = ["v4", "serde"] }
|
|
|
|
[dev-dependencies]
|
|
tracing-subscriber = { version = "0.3.23", features = ["env-filter", "fmt"] }
|
|
|
|
[[example]]
|
|
name = "dev_server"
|