# 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" name = "percpu" version = "0.1.5" authors = ["Yuekai Jia "] build = "build.rs" 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" [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.1" [features] arm-el2 = ["percpu_macros/arm-el2"] default = [] preempt = [ "percpu_macros/preempt", "dep:kernel_guard", ] sp-naive = ["percpu_macros/sp-naive"] [target.'cfg(not(target_os = "none"))'.dependencies.spin] version = "0.9" [target.'cfg(target_arch = "x86_64")'.dependencies.x86] version = "0.52"