tree: d5aa0412ded9823a629d315d5c84a4b6f0b44ca0 [path history] [tgz]
  1. .github/
  2. examples/
  3. src/
  4. .android-checksum.json
  5. .cargo-checksum.json
  6. .cargo_vcs_info.json
  7. Android.bp
  8. Cargo.lock
  9. Cargo.toml
  10. Cargo.toml.orig
  11. cargo_embargo.json
  12. CHANGELOG.md
  13. LICENSE-APACHE
  14. METADATA
  15. MODULE_LICENSE_APACHE2
  16. README.md
  17. TEST_MAPPING
crates/memmap2/README.md

memmap2

Build Status Crates.io Documentation MSRV 1.63.0

A Rust library for cross-platform memory mapped IO.

This is a fork of the memmap-rs crate.

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
  • [x] 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