Skip to content

@danburkert danburkert released this Sep 20, 2018 · 1 commit to master since this release

memmap-rs is a Rust library for cross-platform memory-mapped IO.

memmap 0.7.0 includes a single (breaking) change: MmapOptions::offset now takes a u64 instead of a usize, so that large files can be used on 32-bit platforms.

Assets 2
Jan 6, 2018
Nov 9, 2017

@danburkert danburkert released this Oct 29, 2017 · 16 commits to master since this release

memmap is a Rust library for cross-platform memory mapped IO.

memmap 0.6.0 introduces major API changes in anticipation of a 1.0
release.

  • View types have been removed. They proved to be inflexible, and since
    they did not rely on crate-internals, they may be reproduced externally.
  • Memory mapped buffer types are no longer distringuished by file-backed
    vs. anonymous. Instead, the memory mapped buffer types are
    distinguished by mutable vs. read-only.
  • The minimum rustc version has been bumped to 1.13. This has allowed
    operator ? to be used internally, and the dependency on fs2 to be
    dropped.
  • File-backed memory maps have been made unsafe to create. As a result,
    memory map types may now be safely dereferenced to &[u8] and
    &mut [u8], as appropriate.
  • Memory map types may now be transitioned between read-only, mutable,
    and read-execute.

The following contributors help make this release possible:

Andrew Gallant
Ashley Mannix
Cameron Dershem
Dan Burkert
Michael Rybakov
Ottavio M. Hartman
Peter Atashian
Samuel Tardieu
Sergey Bugaev
Steven Fackler

Thanks!

Assets 2
You can’t perform that action at this time.