cross-platform Rust API for memory mapped IO
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-04-06 20:08:57 +02:00
examples Remove extern crate 2024-12-05 18:32:14 -05:00
src Address review 2026-01-28 10:48:10 +01:00
.gitignore initial posix implementation 2015-04-04 15:16:33 -07:00
Cargo.toml chore: sync dependencies (monorepo) 2026-04-06 15:20:26 +02:00
LICENSE-APACHE Fix copyright attribution 2015-09-10 22:10:28 -07:00
LICENSE-MIT Fix my name. 2021-08-15 22:12:02 +03:00
README.md chore: sync dependencies (monorepo) 2026-04-06 20:08:57 +02:00

memmap2

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