memmapix

Crates.iomemmapix
lib.rsmemmapix
version0.7.6
sourcesrc
created_at2022-07-03 02:18:05.381245
updated_at2023-09-18 09:39:30.845301
descriptionNo libc, pure Rust cross-platform Rust API for memory-mapped file IO
homepage
repositoryhttps://github.com/al8n/memmapix-rs
max_upload_size
id618108
size138,795
Al Liu (al8n)

documentation

https://docs.rs/memmapix

README

memmapix

github Build codecov

docs.rs crates.io license

A pure Rust library for cross-platform memory mapped IO, which replace libc with rustix.

The project is modified based on the memmap2-rs.

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

memmapix 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) 2022 Al Liu

Copyright (c) 2020 Yevhenii Reizner

Copyright (c) 2015 Dan Burkert

Commit count: 228

cargo fmt