pagealloc 1.0.2

Low-level, cross-platform page allocation library
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[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",
]