ax-percpu 0.4.13

Define and access per-CPU data structures
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 = "ax-percpu"
version = "0.4.13"
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]
arm-el2 = ["ax-percpu-macros/arm-el2"]
custom-base = ["ax-percpu-macros/custom-base"]
default = []
host-test = ["dep:spin"]
non-zero-vma = ["ax-percpu-macros/non-zero-vma"]
preempt = [
    "ax-percpu-macros/preempt",
    "dep:ax-kernel-guard",
]
sp-naive = ["ax-percpu-macros/sp-naive"]

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

[[test]]
name = "test_percpu"
path = "tests/test_percpu.rs"

[dependencies.ax-kernel-guard]
version = "0.3.11"
optional = true

[dependencies.ax-percpu-macros]
version = "0.4.10"

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

[dependencies.spin]
version = "0.12"
optional = true

[target.'cfg(target_arch = "x86_64")'.dependencies.x86]
version = "0.52"