17 releases

0.5.8 Nov 9, 2022
0.5.5 Jul 9, 2022
0.5.3 Feb 10, 2022
0.5.0 Sep 19, 2021
0.1.0 Jan 18, 2020

#5 in Memory management

Download history 252881/week @ 2022-10-15 222690/week @ 2022-10-22 219240/week @ 2022-10-29 224486/week @ 2022-11-05 239020/week @ 2022-11-12 204857/week @ 2022-11-19 218898/week @ 2022-11-26 217203/week @ 2022-12-03 210077/week @ 2022-12-10 191487/week @ 2022-12-17 125958/week @ 2022-12-24 171948/week @ 2022-12-31 209848/week @ 2023-01-07 207519/week @ 2023-01-14 205613/week @ 2023-01-21 221456/week @ 2023-01-28

879,506 downloads per month
Used in 1,622 crates (186 directly)

MIT/Apache

96KB
1.5K SLoC

memmap2

Build Status Crates.io Documentation Rust 1.36+

A Rust library for cross-platform memory mapped IO.

This is a fork of the memmap-rs 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

A list of supported/tested targets can be found in Actions.

License

memmap2 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) 2020 Yevhenii Reizner

Copyright (c) 2015 Dan Burkert

Dependencies