ax-kernel-guard 0.3.13

RAII wrappers to create a critical section with local IRQs or preemption disabled
Documentation
[package]
name = "ax-kernel-guard"
version = "0.3.13"
repository = "https://github.com/rcore-os/tgoskits"
edition.workspace = true
authors = ["Yuekai Jia <equation618@gmail.com>"]
description = "RAII wrappers to create a critical section with local IRQs or preemption disabled"
keywords = ["arceos", "synchronization", "preemption"]
categories = ["os", "no-std"]
license = "Apache-2.0"

[features]
axtest = ["dep:axtest"]
preempt = []
host-test = []
default = []

[dependencies]
axtest = { workspace = true, optional = true }
cfg-if = "1.0"
ax-crate-interface = { workspace = true }

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(axtest)'] }