Registry / utility / memfile

memfile

JSON →
library0.3.2rscratesunverified

Memory-backed files using memfd_create with file sealing support on Linux.

# Cargo.toml [dependencies] memfile = "0.3.2"
INSTALL
IMPORT
SIG · MEMFILE
M
memfile
utilityrustv0.3.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MemFile
use memfile::MemFile;

Create a memory-backed file and write data to it.

use memfile::MemFile; let file = MemFile::create("test").unwrap(); file.write_all(b"hello").unwrap(); println!("Written to memory-backed file");
Debug
Known issues
gotchaOnly works on Linux systems with memfd_create support.
fix
Use conditional compilation or fallback for non-Linux platforms.
affects: >=0.3.0
Upgrade
Version history
0.3.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
memfile — cargo add memfile · libregistry