[package]
name = "pagealloc"
version = "1.0.2"
edition = "2024"
rust-version = "1.85.0"
license = "MIT OR Apache-2.0"
description = "Low-level, cross-platform page allocation library"
repository = "https://github.com/nicbn/pagealloc-rs"
categories = ["memory-management"]
keywords = ["mmap", "memory", "virtual"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["std"]
buffer = []
std = []
[dependencies]
cfg-if = "1.0.4"
[target.'cfg(unix)'.dependencies]
errno = { version = "0.3.14", default-features = false }
libc = { version = "0.2.189", default-features = false }
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.61.2", features = [
"Win32_Foundation",
"Win32_System_Diagnostics_Debug",
"Win32_System_Memory",
"Win32_System_SystemInformation",
] }