17 releases
0.5.8 | Nov 9, 2022 |
---|---|
0.5.5 | Jul 9, 2022 |
0.5.3 | Feb 10, 2022 |
0.5.0 | Sep 19, 2021 |
0.1.0 | Jan 18, 2020 |
#5 in Memory management
879,506 downloads per month
Used in 1,622 crates
(186 directly)
96KB
1.5K
SLoC
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
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