Artifact 0fe1d225c39b831bca04fc90316845c63286e1e9228e5f9f83334ae838918b13:
- File Cargo.toml — part of check-in [1db9dbe390] at 2024-11-28 15:44:44 on branch trunk — This is kindda a HUGE rework. SMTP backend switched from SaMoToP to mailin-embedded, resulting in: * LMTP support dropped (I hope just temporary); * no need to write anything to files as whole processing is done in memory; * this also means we can return status - whether message was sent, was there any errors etc, no internal queue exists now, SMTP server should handle queueing from now on; * possibility to deny mail to unknown/unconfigured recipients. (user: arcade, size: 502) [annotate] [blame] [check-ins using]
[package] name = "smtp2tg" version = "0.3.0" authors = [ "arcade" ] edition = "2021" [dependencies] anyhow = "1.0.86" async-std = { version = "1.12.0", features = [ "attributes", "tokio1" ] } config = { version = "=0.14.0", default-features = false, features = [ "toml" ] } # Rust 1.75 teloxide = { version = "0.13", features = [ "rustls", "throttle" ] } mail-parser = { version = "0.9.3", features = ["serde", "serde_support"] } mailin-embedded = "^0" [profile.release] lto = true codegen-units = 1