A Rust library for dealing with memory regions.
It is implemented using platform specific APIs (e.g VirtualQuery
,
VirtualLock
, mprotect
, mlock
).
https://docs.rs/region
Add this to your Cargo.toml
:
toml
[dependencies]
region = "0.0.2"
and this to your crate root:
rust
extern crate region;
This library has (so far) support for Windows
, Linux
& macOS
.