ax-percpu 0.4.16

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.16"
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-percpu-macros]
version = "0.4.11"

[dependencies.cpu-local]
version = "0.1.2"

[dependencies.spin]
version = "=0.12.2"
features = [
    "lock_api",
    "once",
    "lazylock",
]
default-features = false

[dependencies.thiserror]
version = "2"
default-features = false

[dev-dependencies.ax-lazyinit]
version = "0.4.9"