2026-02-13 12:51:49 +03:00
|
|
|
//! telemt — Telegram MTProto Proxy
|
2025-12-30 05:08:05 +03:00
|
|
|
|
2026-03-04 01:08:42 +03:00
|
|
|
mod api;
|
2026-03-09 11:05:46 +03:00
|
|
|
mod cli;
|
2026-01-07 17:22:10 +03:00
|
|
|
mod config;
|
2025-12-30 05:08:05 +03:00
|
|
|
mod crypto;
|
2026-01-07 17:22:10 +03:00
|
|
|
mod error;
|
2026-02-14 23:01:43 +02:00
|
|
|
mod ip_tracker;
|
2026-03-17 17:11:51 +04:00
|
|
|
#[cfg(test)]
|
2026-03-20 22:55:19 +04:00
|
|
|
#[path = "tests/ip_tracker_regression_tests.rs"]
|
2026-03-17 17:11:51 +04:00
|
|
|
mod ip_tracker_regression_tests;
|
2026-03-09 11:05:46 +03:00
|
|
|
mod maestro;
|
2026-02-17 01:11:01 +03:00
|
|
|
mod metrics;
|
2026-03-09 11:05:46 +03:00
|
|
|
mod network;
|
2025-12-30 05:08:05 +03:00
|
|
|
mod protocol;
|
|
|
|
|
mod proxy;
|
2026-03-09 11:05:46 +03:00
|
|
|
mod startup;
|
2025-12-30 05:08:05 +03:00
|
|
|
mod stats;
|
2026-01-07 17:22:10 +03:00
|
|
|
mod stream;
|
2026-02-20 12:55:26 +03:00
|
|
|
mod tls_front;
|
2026-03-09 11:05:46 +03:00
|
|
|
mod transport;
|
2025-12-30 05:08:05 +03:00
|
|
|
mod util;
|
|
|
|
|
|
|
|
|
|
#[tokio::main]
|
2026-02-14 00:26:07 +03:00
|
|
|
async fn main() -> std::result::Result<(), Box<dyn std::error::Error>> {
|
2026-03-09 11:05:46 +03:00
|
|
|
maestro::run().await
|
2026-02-14 01:36:14 +03:00
|
|
|
}
|