16 releases (8 breaking)
Uses new Rust 2021
|new 0.10.0||Jun 18, 2022|
|0.9.5||Mar 16, 2022|
|0.9.4||Feb 8, 2022|
|0.9.3||Dec 18, 2021|
|0.9.1||Jun 10, 2021|
#69 in Memory management
290 downloads per month
Used in integrity-scrub
This is a library of memory allocators and data structures to handle sensitive information, especially when interfacing with foreign and unsafe code.
It currently features:
- An interface to the system’s page allocator,
- a simple memory allocator implementing the
- access‐guarded wrappers around
Add this to your
[dependencies] sensitive = "0.10"
force-mlock feature may be used to force allocations to be memory‐resident: If the memory cannot be locked, the allocation will fail. Without this feature, locking is attempted, but failures are ignored.
This code relies heavily on experimental nightly‐only APIs.