[package]
edition = "2021"
name = "memory_addresses"
version = "0.2.4"
authors = ["Jonathan Klimt <jonathan.klimt@rwth-aachen.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified virtual and physical address types for the Hermit ecosystem and beyond"
documentation = "https://docs.rs/memory_addresses"
readme = "README.md"
keywords = [
"amd64",
"x86",
"x86_64",
"aarch64",
"no_std",
]
categories = [
"no-std",
"os",
"no-std::no-alloc",
"memory-management",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/hermit-os/memory-addresses"
[features]
aarch64 = []
conv-x86 = ["dep:x86"]
conv-x86_64 = ["dep:x86_64"]
conversions = [
"conv-x86",
"conv-x86_64",
]
default = [
"x86_64",
"aarch64",
"riscv64",
]
riscv64 = []
x86_64 = ["dep:x86_64"]
[lib]
name = "memory_addresses"
path = "src/lib.rs"
[dependencies.align-address]
version = "0.3.0"
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.x86]
version = "0.52.0"
optional = true
default-features = false
[dependencies.x86_64]
version = "0.15.1"
optional = true
default-features = false