| 1 |
# memmap2 |
| 2 |
 |
| 3 |
[](https://crates.io/crates/memmap2) |
| 4 |
[](https://docs.rs/memmap2) |
| 5 |
[](https://github.com/rust-lang/rust/releases/tag/1.63.0) |
| 6 |
|
| 7 |
A Rust library for cross-platform memory mapped IO. |
| 8 |
|
| 9 |
This is a **fork** of the [memmap-rs](https://github.com/danburkert/memmap-rs) crate. |
| 10 |
|
| 11 |
## Features |
| 12 |
|
| 13 |
- [x] file-backed memory maps |
| 14 |
- [x] anonymous memory maps |
| 15 |
- [x] synchronous and asynchronous flushing |
| 16 |
- [x] copy-on-write memory maps |
| 17 |
- [x] read-only memory maps |
| 18 |
- [x] stack support (`MAP_STACK` on unix) |
| 19 |
- [x] executable memory maps |
| 20 |
- [x] huge page support (linux only) |
| 21 |
|
| 22 |
A list of supported/tested targets can be found in [Actions](https://github.com/RazrFalcon/memmap2-rs/actions). |
| 23 |
|
| 24 |
## License |
| 25 |
|
| 26 |
`memmap2` is primarily distributed under the terms of both the MIT license and the |
| 27 |
Apache License (Version 2.0). |
| 28 |
|
| 29 |
See [LICENSE-APACHE](LICENSE-APACHE), [LICENSE-MIT](LICENSE-MIT) for details. |
| 30 |
|
| 31 |
Copyright (c) 2020 Yevhenii Reizner |
| 32 |
|
| 33 |
Copyright (c) 2015 Dan Burkert |