[package] name = "kernel_guard" version = "0.1.1" edition = "2021" authors = ["Yuekai Jia "] description = "RAII wrappers to create a critical section with local IRQs or preemption disabled" license = "GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0" homepage = "https://github.com/arceos-org/arceos" repository = "https://github.com/arceos-org/kernel_guard" documentation = "https://docs.rs/kernel_guard" keywords = ["arceos", "synchronization", "preemption"] categories = ["os", "no-std"] [features] preempt = [] default = [] [dependencies] cfg-if = "1.0" crate_interface = "0.1"