diff --git a/Cargo.toml b/Cargo.toml index 896d6a5..e0d1b03 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,9 +33,9 @@ hyper = { version = "0.14.16", default_features = false, features = [ "http1", ], optional = true } ipext = "0.1.0" -jemallocator = "0.3.2" libsodium-sys-stable = "1.19.21" log = { version = "0.4.14", features = ["std", "release_max_level_debug"] } +mimalloc = { version = "0.1.29", default-features = false } socket2 = "0.4.4" parking_lot = "0.12.0" privdrop = "0.5.1" diff --git a/src/main.rs b/src/main.rs index 9b54ed7..310d563 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,7 +7,7 @@ #![allow(dead_code)] #[global_allocator] -static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc; +static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc; #[macro_use] extern crate derivative;