[package]
name = "patina_internal_cpu"
version.workspace = true
repository.workspace = true
license.workspace = true
edition.workspace = true
readme = "README.md"
description = "CPU support."

[lints]
workspace = true

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

[dependencies]
log = { workspace = true }
r-efi = { workspace = true }
patina = { workspace = true }
spin = { workspace = true, features = ["rwlock"] }
patina_paging = { workspace = true }
cfg-if = { workspace = true }
patina_stacktrace = { workspace = true }

[target.'cfg(all(target_arch="x86_64"))'.dependencies]
patina_mtrr = { workspace = true }

[target.'cfg(all(target_arch="aarch64"))'.dependencies]
arm-gic = { workspace = true }

[dev-dependencies]
mockall = { workspace = true }
serial_test = { workspace = true }

[features]
default = []
std = []
doc = []
# All non-std features to test in CI
ci_features = []
