page_table_multiarch 0.6.0

Generic page table structures for various hardware architectures
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"
name = "page_table_multiarch"
version = "0.6.0"
authors = ["Yuekai Jia <equation618@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generic page table structures for various hardware architectures"
homepage = "https://github.com/arceos-org/arceos"
documentation = "https://docs.rs/page_table_multiarch"
readme = "README.md"
keywords = [
    "arceos",
    "paging",
    "page-table",
    "virtual-memory",
]
categories = [
    "os",
    "hardware-support",
    "memory-management",
    "no-std",
]
license = "GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0"
repository = "https://github.com/arceos-org/page_table_multiarch"
resolver = "2"

[package.metadata.docs.rs]
rustc-args = [
    "--cfg",
    "docsrs",
]
all-features = true

[features]
axerrno = ["dep:axerrno"]
copy-from = ["dep:bitmaps"]
default = []

[lib]
name = "page_table_multiarch"
path = "src/lib.rs"

[[test]]
name = "alloc_tests"
path = "tests/alloc_tests.rs"

[dependencies.arrayvec]
version = "0.7"
default-features = false

[dependencies.axerrno]
version = "0.1"
optional = true

[dependencies.bitmaps]
version = "3.2"
optional = true
default-features = false

[dependencies.log]
version = "0.4"

[dependencies.memory_addr]
version = "0.4"

[dependencies.page_table_entry]
version = "0.6"

[dev-dependencies.rand]
version = "0.10.0-rc.5"
features = ["small_rng"]
default-features = false

[target.'cfg(any(target_arch = "riscv32", target_arch = "riscv64", doc, docsrs))'.dependencies.riscv]
version = "0.14"
default-features = false

[target.'cfg(any(target_arch = "x86_64", doc, docsrs))'.dependencies.x86]
version = "0.52"