1 2 3 4 5 6 7 8 9 10 11
use leash::ignite; use ratelimit::RatelimiterServerComponent; #[cfg(not(target_os = "windows"))] use tikv_jemallocator::Jemalloc; #[cfg(not(target_os = "windows"))] #[global_allocator] static GLOBAL: Jemalloc = Jemalloc; ignite!(RatelimiterServerComponent);