awkernel_sync 0.1.1

no_std synchronization primitives (mutex, rwlock, spinlock, MCS lock) with interrupt guards for the Awkernel operating system.
# 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 = "awkernel_sync"
version = "0.1.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "no_std synchronization primitives (mutex, rwlock, spinlock, MCS lock) with interrupt guards for the Awkernel operating system."
readme = "README.md"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/tier4/awkernel_sync"

[features]
aarch64 = []
default = []
rv32 = []
rv64 = []
spinlock = []
std = ["dep:parking_lot"]
x86 = ["dep:x86_64"]
x86_mwait = []

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

[[test]]
name = "model_check_mcslock"
path = "tests/model_check_mcslock.rs"

[[test]]
name = "model_check_rwlock"
path = "tests/model_check_rwlock.rs"

[dependencies.parking_lot]
version = "0.12"
optional = true

[dependencies.x86_64]
version = "0.15"
optional = true

[dev-dependencies.loom]
version = "0.7"

[target."cfg(loom)".dependencies.loom]
version = "0.7"