# 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_entry"
version = "0.5.6"
authors = ["Yuekai Jia <equation618@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Page table entry definition for various hardware architectures"
homepage = "https://github.com/arceos-org/arceos"
documentation = "https://docs.rs/page_table_entry"
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",
    "doc",
]

[features]
arm-el2 = []

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

[dependencies.bitflags]
version = "2.9"

[dependencies.memory_addr]
version = "0.4"

[target.'cfg(any(target_arch = "aarch64", doc))'.dependencies.aarch64-cpu]
version = "10.0"

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