Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pagealloc

crates.io docs.rs CI

Low-level, cross-platform page allocation library.

This crate provides a cross-platform interface to the operating system's virtual memory allocation, such as mmap on Unix and VirtualAlloc on Windows. It allows allocating pages of memory, clearing them, marking them as free, and changing memory protections.

The API is mostly unsafe, and an optional buffer feature is provided to enable a safe wrapper around page allocation.

Read more in the official crate documentation.

Platform support

UNIX-like systems and Windows are currently supported.

The following platforms are tested in CI:

  • Windows
  • Linux
  • macOS

Contributions to support other platforms are welcome.

Minimum Supported Rust Version

Currently the Minimum Supported Rust Version (MSRV) is 1.85. This version may be increased in the future with a minor release bump.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Low-level, cross-platform page allocation library for Rust

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages