patina_internal_cpu 20.1.1

CPU support.
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"
name = "patina_internal_cpu"
version = "20.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CPU support."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/OpenDevicePartnership/patina"

[package.metadata.docs.rs]
features = [
    "doc",
    "std",
]

[features]
default = []
doc = []
std = []

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

[dependencies.cfg-if]
version = "1"

[dependencies.lazy_static]
version = "^1"
features = ["spin_no_std"]

[dependencies.log]
version = "0.4"
default-features = false

[dependencies.patina]
version = "20.1.1"

[dependencies.patina_paging]
version = "11"

[dependencies.patina_stacktrace]
version = "20.1.1"

[dependencies.r-efi]
version = "5.0.0"
default-features = false

[dependencies.spin]
version = "^0.9"
features = ["rwlock"]

[dev-dependencies.mockall]
version = "0.13.0"

[dev-dependencies.serial_test]
version = "3.0"

[dev-dependencies.x86_64]
version = "=0.15.2"
features = [
    "instructions",
    "abi_x86_interrupt",
]
default-features = false

[target.'cfg(all(target_arch="aarch64"))'.dependencies.arm-gic]
version = "0.7.2"

[target.'cfg(all(target_arch="aarch64"))'.dependencies.safe-mmio]
version = "0.2.5"

[target.'cfg(all(target_arch="x86_64"))'.dependencies.patina_mtrr]
version = "^1.1.4"

[target.'cfg(all(target_arch="x86_64"))'.dependencies.x86_64]
version = "=0.15.2"
features = [
    "instructions",
    "abi_x86_interrupt",
]
default-features = false

[lints.clippy]
undocumented_unsafe_blocks = "warn"