Files
telemt/src/main.rs
T

34 lines
697 B
Rust
Raw Normal View History

//! 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;
#[cfg(test)]
#[path = "tests/ip_tracker_hotpath_adversarial_tests.rs"]
mod ip_tracker_hotpath_adversarial_tests;
2026-03-21 15:45:29 +03:00
#[cfg(test)]
#[path = "tests/ip_tracker_encapsulation_adversarial_tests.rs"]
mod ip_tracker_encapsulation_adversarial_tests;
#[cfg(test)]
2026-03-21 15:45:29 +03:00
#[path = "tests/ip_tracker_regression_tests.rs"]
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
}