[package]
edition = "2024"
rust-version = "1.85.0"
name = "pagealloc"
version = "1.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-level, cross-platform page allocation library"
readme = "README.md"
keywords = [
"mmap",
"memory",
"virtual",
]
categories = ["memory-management"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nicbn/pagealloc-rs"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
buffer = []
default = ["std"]
std = []
[lib]
name = "pagealloc"
path = "src/lib.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "buffer"
path = "tests/buffer.rs"
[[test]]
name = "crash"
path = "tests/crash.rs"
[dependencies.cfg-if]
version = "1.0.4"
[target."cfg(unix)".dependencies.errno]
version = "0.3.14"
default-features = false
[target."cfg(unix)".dependencies.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",
]