kernel_guard 0.2.0

RAII wrappers to create a critical section with local IRQs or preemption disabled
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"
name = "kernel_guard"
version = "0.2.0"
authors = ["Yuekai Jia <equation618@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RAII wrappers to create a critical section with local IRQs or preemption disabled"
homepage = "https://github.com/arceos-org/arceos"
documentation = "https://docs.rs/kernel_guard"
readme = "README.md"
keywords = [
    "arceos",
    "synchronization",
    "preemption",
]
categories = [
    "os",
    "no-std",
]
license = "Apache-2.0"
repository = "https://github.com/arceos-org/kernel_guard"

[features]
default = []
preempt = []

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

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

[dependencies.crate_interface]
version = "0.3"