| Crates.io | mmap-rs |
| lib.rs | mmap-rs |
| version | 0.7.0 |
| created_at | 2021-10-27 19:29:03.236553+00 |
| updated_at | 2025-09-25 22:27:00.756524+00 |
| description | A cross-platform and safe Rust API to create and manage memory mappings in the virtual address space of the calling process. |
| homepage | https://codentium.com |
| repository | https://github.com/StephanvanSchaik/mmap-rs |
| max_upload_size | |
| id | 473214 |
| size | 150,122 |
A cross-platform and safe Rust API to create and manage memory mappings in the virtual address space of the calling process. This crate can be used to create both file mappings and anonymous mappings. In addition, this crate supports the use of features such as huge pages, locking physical memory, etc. on platforms where those features are available. Furthermore, this crate allows you to enumerate the memory mappings of a process.
mmap-rs supports rustc version 1.85 or greater since version 0.7.
Tier 1 (builds and tests are run in CI):
x86_64-pc-windows-msvcx86_64-unknown-linux-gnui686-unknown-linux-gnuaarch64-unknown-linux-gnuarmv7a-unknown-linux-gnueabihfx86_64-apple-darwinx86_64-unknown-freebsdTier 2 (builds are run in CI):
i686-pc-windows-msvcaarch64-pc-windows-msvcaarch64-linux-androidarmv7-linux-androideabix86_64-linux-androidi686-linux-androidaarch64-apple-iosTier 3 (no CI, but should work):
aarch64-apple-darwinx86_64-apple-iosi686-unknown-freebsdunsafe - see documentation for details).PROT_NONE and PAGE_NOACCESS).unsafe - see documentation for details).MAP_STACK on Unix).