# 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 = "ax-kernel-guard"
version = "0.3.3"
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"
readme = "README.md"
keywords = [
    "arceos",
    "synchronization",
    "preemption",
]
categories = [
    "os",
    "no-std",
]
license = "Apache-2.0"
repository = "https://github.com/rcore-os/tgoskits"
resolver = "3"

[features]
default = []
preempt = []

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

[dependencies.ax-crate-interface]
version = "0.5.0"

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