Skip to content
cross-platform Rust API for memory mapped IO
Branch: master
Clone or download
dekellum and danburkert Improve documentation
primarily adds safety notes for unsafe file-backed maps. Such a general
note doesn't have to be "authoritative" or a treatise on the nuances of
every supported platform in order to give users a useful starting point
in assessing the (un-)safety. GitHub cc: #70

Also switches docs to use the new rustdoc link format (RFC 1946), and
cleans up some of the copy.
2
Latest commit 3b047cc Apr 18, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ci update trust CI template Sep 20, 2018
examples rustfmt Sep 20, 2018
src Improve documentation Oct 2, 2018
.appveyor.yml update trust CI template Sep 20, 2018
.gitignore initial posix implementation Apr 4, 2015
.travis.yml update trust CI template Sep 20, 2018
Cargo.toml 0.7.0 Sep 20, 2018
LICENSE-APACHE Fix copyright attribution Sep 11, 2015
LICENSE-MIT Fix copyright attribution Sep 11, 2015
README.md Fix small typo in README (#57) Oct 30, 2017

README.md

memmap

A Rust library for cross-platform memory mapped IO.

Build Status Windows Build Status 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)
  • executable memory maps
  • huge page support

Platforms

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

memmap 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

memmap 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

memmap 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.

You can’t perform that action at this time.