[package]
edition = "2021"
name = "awkernel_sync"
version = "0.1.0"
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"