Third-Party Import of: https://crates.io/crates/memmap2
Request Document: go/android3p
For CL Reviewers: go/android3p#cl-review
For Build Team: go/ab-third-party-imports
Bug: http://b/322360679

Change-Id: Id222d8e3f814d0067ca4ad2c694d487ab192c851
18 files changed
tree: 3e0fbcc74318e5140bb008e9efc6ea185656fd08
  1. examples/
  2. src/
  3. Android.bp
  4. Cargo.lock
  5. Cargo.toml
  6. Cargo.toml.orig
  7. CHANGELOG.md
  8. LICENSE
  9. LICENSE-APACHE
  10. LICENSE-MIT
  11. METADATA
  12. MODULE_LICENSE_APACHE2
  13. OWNERS
  14. README.md
README.md

memmap2

Build Status Crates.io Documentation Rust 1.36+

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