blob: d2489565db628830276eb165f8dae837ac4cb646 [file] [log] [blame]
# SPDX-FileCopyrightText: Copyright 2023-2025 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: MIT OR Apache-2.0
[package]
name = "arm-xlat"
version = "0.1.0"
authors = [
"Balint Dobszay <balint.dobszay@arm.com>",
"Imre Kis <imre.kis@arm.com>",
]
description = "AArch64 Virtual Memory Translation Table handler library"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://git.trustedfirmware.org/rust-spmc/arm-xlat.git"
keywords = ["arm", "aarch64", "mmu", "virtual memory"]
categories = ["hardware-support", "embedded", "no-std", "no-std::no-alloc"]
readme = "README.md"
rust-version = "1.82"
[dependencies]
bitflags = "2.4"
log = { version = "0.4", features = [
"max_level_trace",
"release_max_level_info",
] }
num_enum = { version = "0.7", default-features = false }
packed_struct = { version = "0.10", default-features = false }
spin = { version = "0.9", default-features = false, features = [
"mutex",
"spin_mutex",
"rwlock",
] }
thiserror = { version = "2.0", default-features = false }
[features]
default = []
feat_lva = []
feat_ttst = []
feat_lpa = []
feat_lpa2 = ["feat_lpa", "feat_lva"]