1 unstable release

0.8.0 Sep 25, 2020

#40 in #memory-map

Download history 218/week @ 2024-11-19 298/week @ 2024-11-26 359/week @ 2024-12-03 434/week @ 2024-12-10 292/week @ 2024-12-17 135/week @ 2024-12-24 199/week @ 2024-12-31 257/week @ 2025-01-07 462/week @ 2025-01-14 326/week @ 2025-01-21 255/week @ 2025-01-28 533/week @ 2025-02-04 443/week @ 2025-02-11 282/week @ 2025-02-18 313/week @ 2025-02-25 266/week @ 2025-03-04

1,425 downloads per month
Used in 21 crates (3 directly)

MIT/Apache

57KB
1K SLoC

mapr

Fork of the great memmap 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)
  • executable memory maps
  • huge page support

Platforms

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

mapr 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

mapr 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

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

Dependencies

~220KB