mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 10:15:31 +00:00
- Work in progress - Only UDP is currently implemented so far - Also includes some changes to other crates, notably deriving serde Serialize for Config structs and making udp_load_test a lib and a binary
13 lines
351 B
Rust
13 lines
351 B
Rust
use aquatic_udp_load_test::config::Config;
|
|
|
|
#[global_allocator]
|
|
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
|
|
|
pub fn main() {
|
|
aquatic_common::cli::run_app_with_cli_and_config::<Config>(
|
|
"aquatic_udp_load_test: BitTorrent load tester",
|
|
env!("CARGO_PKG_VERSION"),
|
|
aquatic_udp_load_test::run,
|
|
None,
|
|
)
|
|
}
|