Skip to content

Releases: danburkert/memmap-rs

0.7.0

20 Sep 05:11
Compare
Choose a tag to compare

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.

0.6.0

29 Oct 06:09
Compare
Choose a tag to compare

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!