Artifact 85cf40bbe7cc629c14e2c973ae128223dbde85133224c87379a4783c9d5a840d:
- File src/main.rs — part of check-in [cc376760fc] at 2026-07-31 15:20:28 on branch trunk — propagate error from async (user: arcade, size: 445) [annotate] [blame] [check-ins using] [more...]
//! Simple SMTP-to-Telegram gateway. Can parse email and send them as telegram //! messages to specified chats, generally you specify which email address is //! available in configuration, everything else is sent to default address. use async_compat::Compat; use stacked_errors:: Result; // main function stub that executes main code from lib fn main () -> Result<()> { smol::block_on(Compat::new(async { smtp2tg::async_main().await })) }