[package]
name = "ax-sync"
version = "0.5.14"
repository = "https://github.com/rcore-os/tgoskits"
edition.workspace = true
authors = ["Yuekai Jia <equation618@gmail.com>"]
description = "ArceOS synchronization primitives"
license.workspace = true
[features]
multitask = ["ax-task/multitask"]
lockdep = [
"multitask",
"ax-task/lockdep",
"ax-kspin/lockdep",
"dep:ax-lockdep",
"ax-lockdep/task-context",
]
default = []
[dependencies]
ax-lockdep = { workspace = true, optional = true }
ax-task.workspace = true
ax-kspin.workspace = true
lock_api.workspace = true
[target.'cfg(not(target_os = "none"))'.dev-dependencies]
ax-task = { workspace = true, features = ["test"] }
fastrand = "2.3"