mihomo_speedtest_rs/lib.rs
1//! # Mihomo SpeedTest Rust
2//!
3//! A fast and accurate Clash/Mihomo proxy speedtest tool.
4//!
5//! This library provides functionality to test proxy servers for latency, download speed,
6//! and upload speed. It supports various proxy protocols including Shadowsocks, VMess,
7//! Trojan, and standard HTTP/SOCKS5 proxies.
8
9pub mod cli;
10pub mod config;
11pub mod core;
12pub mod network;
13pub mod output;
14
15// Re-export commonly used types for convenience
16pub use config::{ProxyConfig, ProxyParameters, ProxyType};
17pub use core::{SpeedTestConfig, SpeedTestResult, SpeedTester};
18pub use network::{BandwidthResult, LatencyResult};
19
20/// Result type used throughout the library
21pub type Result<T> = anyhow::Result<T>;