Add missing cargo_embargo.json and regenerate Android.bp.

I'm not sure why cargo_embargo.json wasn't ever checked in, but I
reconstructed it as best I could.

Also replace LICENSE file with a symlink to LICENSE-APACHE to match the
crate archive contents.

Bug: http://b/339424309
Test: treehugger
Change-Id: I9a79e8c01c69fb0089d0574faa5172d1db8377b5
4 files changed
tree: caa602ae7fec080fcb98eea5c0a8e0b0c7f94585
  1. examples/
  2. src/
  3. Android.bp
  4. Cargo.lock
  5. Cargo.toml
  6. Cargo.toml.orig
  7. cargo_embargo.json
  8. CHANGELOG.md
  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