Remade with Rust
rusty_alloc_default: global allocator install seam
A tiny seam that installs rusty_alloc as the process global allocator
Replaces: boilerplate #[global_allocator] wiring
What is rusty_alloc_default, the global allocator install seam?
rusty_alloc_default is a tiny seam that installs rusty_alloc as the process global allocator. It replaces the boilerplate #[global_allocator] wiring a crate would otherwise copy into main.
What rusty_alloc_default replaces
rusty_alloc_default is the global allocator install seam. One dependency installs rusty_alloc for the process.
Why rusty_alloc_default is a global allocator install seam
What rusty_alloc_default keeps from boilerplate #[global_allocator] wiring
rusty_alloc_default keeps the install step and nothing else. The allocator itself is rusty_alloc. This crate only replaces the boilerplate that points the process at it.
Where rusty_alloc_default fits
rusty_alloc_default belongs next to rusty_alloc. Use it when the process should allocate through that crate without hand-written global-allocator wiring.
Read more about rusty_alloc_default
- All Remade with Rust rebuilds
- Freedom Guide
- Vision
- rusty_alloc — pure-Rust memory allocator
- rusty_dds — memory-safe DDS texture toolkit
- Learn article on rusty_alloc_default
- rusty_alloc_default on GitHub

