memmap2

Crates.iomemmap2
lib.rsmemmap2
version0.9.8
created_at2020-01-18 14:19:42.096696+00
updated_at2025-08-22 09:04:43.880888+00
descriptionCross-platform Rust API for memory-mapped file IO
homepage
repositoryhttps://github.com/RazrFalcon/memmap2-rs
max_upload_size
id199726
size161,196
Allan (allan2)

documentation

https://docs.rs/memmap2

README

memmap2

Build Status Crates.io Documentation MSRV 1.63.0

A Rust library for cross-platform memory mapped IO.

This is a fork of the memmap-rs crate.

Features

  • file-backed memory maps
  • anonymous memory maps
  • synchronous and asynchronous flushing
  • copy-on-write memory maps
  • read-only memory maps
  • stack support (MAP_STACK on unix)
  • executable memory maps
  • huge page support (linux only)

A list of supported/tested targets can be found in Actions.

License

memmap2 is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, LICENSE-MIT for details.

Copyright (c) 2020 Yevhenii Reizner

Copyright (c) 2015 Dan Burkert

Commit count: 281

cargo fmt