RazrFalcon/memmap2-rs

cross-platform Rust API for memory mapped IO

650

stars

308

commits

Rust

primary language

Aug 20, 2026

updated

README

memmap2

Build Status crates.io Documentation MSRV 1.65.0

A Rust library for cross-platform memory mapped IO.

This is a fork of the memmap 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

Contributors

(top 30 of 61)

danburkert

94 commits

RazrFalcon

61 commits

de-vri-es

36 commits

adamreichold

19 commits

RazrFalcon/memmap2-rs

cross-platform Rust API for memory mapped IO

650

stars

308

commits

Rust

primary language

Aug 20, 2026

updated

README

memmap2

Build Status crates.io Documentation MSRV 1.65.0

A Rust library for cross-platform memory mapped IO.

This is a fork of the memmap 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

Contributors

(top 30 of 61)

danburkert

94 commits

RazrFalcon

61 commits

de-vri-es

36 commits

adamreichold

19 commits

Languages

Rust

100.0%