# The Best and Highest-Leveled and Newest binding for MiMalloc Ever Existed in Rust > mimalloc 2.1.7 stable ## Why create this - in repo `https://github.com/LemonHX/mimalloc-rust/pulls` there're many pull requests open for a long time, in other words it's garbage. Once these pull requests are merged, I am going to yank this crate. - in repo `https://github.com/purpleprotocol/mimalloc_rust` i didn't see any data types and it neither has all the functionalities which mimalloc has provided, in other words it's garbage. ## Usage first add to dependencies ```toml [dependencies] mimalloc2-rust = "0.3" ``` then set the global allocator ```rust use mimalloc2_rust::*; #[global_allocator] static GLOBAL_MIMALLOC: GlobalMiMalloc = GlobalMiMalloc; ```