2 unstable releases

Uses old Rust 2015

0.2.0 Feb 9, 2018
0.1.0 Sep 3, 2017

#550 in Memory management

Download history 10/week @ 2024-07-29 1/week @ 2024-08-05 7/week @ 2024-08-12 8/week @ 2024-09-02 2/week @ 2024-09-09 14/week @ 2024-09-16 64/week @ 2024-09-23 22/week @ 2024-09-30 4/week @ 2024-10-07 12/week @ 2024-10-14 6/week @ 2024-10-21 7/week @ 2024-10-28 27/week @ 2024-11-04

52 downloads per month
Used in 3 crates

Apache-2.0/MIT

73KB
1K SLoC

mmap-alloc

Crates.io Docs

An allocator that is backed by directly mapping memory pages.

The MapAlloc type defined by this crate implements the Alloc and ObjectAlloc traits by directly mapping memory pages from the kernel (mmap/munmap on POSIX systems and VirtualAlloc/VirtualFree on Windows). It also allows pages to be committed or uncommitted.

Dependencies

~51–325KB