#mmap #memory-map #io #memmap

caring

Sharing is caring: a safe library for mmap'ing memory in multiple processes

4 releases (2 breaking)

Uses old Rust 2015

0.3.0 Sep 18, 2020
0.2.0 Apr 8, 2020
0.1.1 Apr 3, 2020
0.1.0 Apr 3, 2020

#813 in Concurrency


Used in heliograph

Apache-2.0 OR BSD-3-Clause

26KB
431 lines

caring Crates.io Documentation

Sharing is caring: the caring crate provides a Shared<T> type that handles safely storing a T in shared memory, using mmap. T is for some methods bound to be ProcSync in order to be shared between multiple processes.

Read the documentation for in-depth information, and see the Changelog for the changes between versions.

Dependencies

~0.4–1MB
~21K SLoC