[
][Github-url]
[
][CI-url]
[
][codecov-url]
[
][doc-url]
[
][crates-url]
A pure Rust library for cross-platform memory mapped IO, which replace `libc` with [`rustix`](https://github.com/bytecodealliance/rustix).
The project is modified based on the [memmap2-rs](https://github.com/RazrFalcon/memmap2-rs).
## Features
- [x] file-backed memory maps
- [x] anonymous memory maps
- [x] synchronous and asynchronous flushing
- [x] copy-on-write memory maps
- [x] read-only memory maps
- [x] stack support (`MAP_STACK` on unix)
- [x] executable memory maps
- [ ] huge page support
A list of supported/tested targets can be found in [Actions](https://github.com/RazrFalcon/memmap2-rs/actions).
## License
`memmapix` is primarily distributed under the terms of both the MIT license and the
Apache License (Version 2.0).
See [LICENSE-APACHE](LICENSE-APACHE), [LICENSE-MIT](LICENSE-MIT) for details.
Copyright (c) 2022 Al Liu
Copyright (c) 2020 Yevhenii Reizner
Copyright (c) 2015 Dan Burkert
[Github-url]: https://github.com/al8n/memmapix-rs/
[CI-url]: https://github.com/al8n/memmapix-rs/actions/workflows/main.yml
[doc-url]: https://docs.rs/memmapix
[crates-url]: https://crates.io/crates/memmapix
[codecov-url]: https://app.codecov.io/gh/al8n/memmapix-rs/
[license-apache-url]: https://opensource.org/licenses/Apache-2.0
[license-mit-url]: https://opensource.org/licenses/MIT