Overview
| Comment: | propagate error from async |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
cc376760fce9714aeb39757c1d96c266 |
| User & Date: | arcade on 2026-07-31 15:20:28.292 |
| Other Links: | manifest | tags |
Context
|
2026-07-31
| ||
| 15:21 | make get_id public and add some tests for it check-in: e45c7e529b user: arcade tags: trunk | |
| 15:20 | propagate error from async check-in: cc376760fc user: arcade tags: trunk | |
| 15:12 | reorder uses, properly react to errors with hostname, check-in: 713c1e7fb2 user: arcade tags: trunk | |
Changes
Modified src/main.rs
from [150a105673]
to [85cf40bbe7].
1 2 3 4 5 6 7 8 9 10 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | - - + + - - |
//! 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 {
|