diff --git a/Cargo.lock b/Cargo.lock index ddcf37a..1cfc8d0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1677,16 +1677,6 @@ version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" -[[package]] -name = "libmimalloc-sys" -version = "0.1.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e7bb23d733dfcc8af652a78b7bf232f0e967710d044732185e561e47c0336b6" -dependencies = [ - "cc", - "libc", -] - [[package]] name = "libsqlite3-sys" version = "0.27.0" @@ -1778,7 +1768,6 @@ dependencies = [ "hex", "hmac", "mellow_macros", - "mimalloc", "moka", "once_cell", "postgrest", @@ -1827,15 +1816,6 @@ version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" -[[package]] -name = "mimalloc" -version = "0.1.42" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9186d86b79b52f4a77af65604b51225e8db1d6ee7e3f41aec1e40829c71a176" -dependencies = [ - "libmimalloc-sys", -] - [[package]] name = "mime" version = "0.3.17" diff --git a/crates/mellow/Cargo.toml b/crates/mellow/Cargo.toml index 6ec5fb5..ed11783 100644 --- a/crates/mellow/Cargo.toml +++ b/crates/mellow/Cargo.toml @@ -27,7 +27,6 @@ tracing = "0.1.40" futures = "0.3.30" dashmap = { version = "5.5.3", features = ["inline"] } reqwest = { version = "0.12.5", features = ["json"] } -mimalloc = "0.1.42" actix-web = "4.7.0" once_cell = "1.19.0" thiserror = "1.0.61" diff --git a/crates/mellow/src/main.rs b/crates/mellow/src/main.rs index 0681aab..a4f7329 100644 --- a/crates/mellow/src/main.rs +++ b/crates/mellow/src/main.rs @@ -5,7 +5,6 @@ use std::{ }; use tokio::sync::RwLock; use tracing::{ Level, info }; -use mimalloc::MiMalloc; use tokio_util::sync::CancellationToken; use tracing_log::LogTracer; use twilight_model::{ @@ -44,9 +43,6 @@ mod database; mod interaction; mod visual_scripting; -#[global_allocator] -static GLOBAL: MiMalloc = MiMalloc; - pub type Context = Arc; pub struct Command {