[package]
edition = "2024"
name = "ax-percpu"
version = "0.4.18"
authors = [
"Yuekai Jia <equation618@gmail.com>",
"hky1999 <976929993@qq.com>",
"Su Mingxian <aarkegz@gmail.com>",
"yufeng <321353225@qq.com>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Define and access per-CPU data structures"
readme = "README.md"
keywords = [
"arceos",
"percpu",
]
categories = [
"development-tools::procedural-macro-helpers",
"no-std",
]
license = "Apache-2.0"
repository = "https://github.com/rcore-os/tgoskits"
[features]
host-test = ["cpu-local/host-test"]
[lib]
name = "ax_percpu"
path = "src/lib.rs"
[[test]]
name = "architecture_boundary"
path = "tests/architecture_boundary.rs"
[[test]]
name = "dynamic_only_contract"
path = "tests/dynamic_only_contract.rs"
[[test]]
name = "scoped_api_contract"
path = "tests/scoped_api_contract.rs"
[[test]]
name = "test_percpu"
path = "tests/test_percpu.rs"
[dependencies.ax-lazyinit]
version = "0.5"
[dependencies.ax-percpu-macros]
version = "0.4"
[dependencies.cpu-local]
version = "0.2"
[dependencies.thiserror]
version = "2"
default-features = false
[dev-dependencies]