mmapio

Crates.iommapio
lib.rsmmapio
version0.9.1
sourcesrc
created_at2021-02-21 10:09:47.765284
updated_at2021-02-23 10:07:57.653239
descriptionCross-platform Rust API for memory-mapped file IO
homepage
repositoryhttps://github.com/henrylee2cn/mmapio
max_upload_size
id358444
size78,886
Andeya (andeya)

documentation

https://docs.rs/mmapio

README

mmapio

Fork of the great memmap and mapr library.

A Rust library for cross-platform memory mapped IO.

Documentation 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)
  • locked support (MAP_LOCKED on unix)
  • executable memory maps
  • huge page support

Platforms

mmapio should work on any platform supported by libc. mmapio requires Rust stable 1.13 or greater.

mmapio is continuously tested on:

  • x86_64-unknown-linux-gnu (Linux)
  • i686-unknown-linux-gnu
  • x86_64-unknown-linux-musl (Linux MUSL)
  • x86_64-apple-darwin (OSX)
  • i686-apple-darwin
  • x86_64-pc-windows-msvc (Windows)
  • i686-pc-windows-msvc
  • x86_64-pc-windows-gnu
  • i686-pc-windows-gnu

mmapio is continuously cross-compiled against:

  • arm-linux-androideabi (Android)
  • aarch64-unknown-linux-gnu (ARM)
  • arm-unknown-linux-gnueabihf
  • mips-unknown-linux-gnu (MIPS)
  • x86_64-apple-ios (iOS)
  • i686-apple-ios

License

mmapio 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) 2015 Dan Burkert.

Commit count: 129

cargo fmt