percpu 0.2.3

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 = "2021"
rust-version = "1.66"
name = "percpu"
version = "0.2.3"
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"
homepage = "https://github.com/arceos-org/arceos"
documentation = "https://docs.rs/percpu"
readme = "README.md"
keywords = [
    "arceos",
    "percpu",
]
categories = [
    "development-tools::procedural-macro-helpers",
    "no-std",
]
license = "GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0"
repository = "https://github.com/arceos-org/percpu"

[features]
arm-el2 = ["percpu_macros/arm-el2"]
custom-base = ["percpu_macros/custom-base"]
default = []
non-zero-vma = ["percpu_macros/non-zero-vma"]
preempt = [
    "percpu_macros/preempt",
    "dep:kernel_guard",
]
sp-naive = ["percpu_macros/sp-naive"]

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

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

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

[dependencies.kernel_guard]
version = "0.1"
optional = true

[dependencies.percpu_macros]
version = "0.2.3"

[target.'cfg(not(target_os = "none"))'.dependencies.spin]
version = "0.10"

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