Crates.io | mimalloc2-rust |
lib.rs | mimalloc2-rust |
version | 0.4.0 |
created_at | 2024-02-26 10:32:40.414513+00 |
updated_at | 2025-03-21 16:52:30.234416+00 |
description | the fork of the best binding for mimalloc in rust |
homepage | |
repository | https://git.sr.ht/~alip/mimalloc2-rust |
max_upload_size | |
id | 1153323 |
size | 19,275 |
mimalloc 2.2.2 stable
https://github.com/LemonHX/mimalloc-rust/pulls
there're many
pull requests open for a long time. Once these pull requests are
merged, I am going to yank this crate.https://github.com/purpleprotocol/mimalloc_rust
i didn't see any data
types and it neither has all the functionalities which mimalloc has provided.first add to dependencies
[dependencies]
mimalloc2-rust = "0.4"
then set the global allocator
use mimalloc2_rust::*;
#[global_allocator]
static GLOBAL_MIMALLOC: GlobalMiMalloc = GlobalMiMalloc;