Make mimalloc optional for udp and http

This commit is contained in:
Joakim Frostegård 2024-05-03 22:38:25 +02:00
parent f061c47ef8
commit 7795a1a532
5 changed files with 21 additions and 5 deletions

View file

@ -1,6 +1,7 @@
use aquatic_common::cli::run_app_with_cli_and_config;
use aquatic_http::config::Config;
#[cfg(feature = "mimalloc")]
#[global_allocator]
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;