# 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 = "kspin" version = "0.1.0" authors = ["Yuekai Jia "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Spinlocks used for kernel space that can disable preemption or IRQs in the critical section." homepage = "https://github.com/arceos-org/arceos" documentation = "https://docs.rs/kspin" readme = "README.md" keywords = [ "arceos", "synchronization", "spinlock", "no-irq", ] categories = [ "os", "no-std", ] license = "GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0" repository = "https://github.com/arceos-org/kspin" [lib] name = "kspin" path = "src/lib.rs" [dependencies.cfg-if] version = "1.0" [dependencies.kernel_guard] version = "0.1" [features] default = [] smp = []