[package]
name = "ax-sync"
version = "0.5.11"
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"]
default = []

[dependencies]
ax-task.workspace = true
ax-kspin.workspace = true
lock_api.workspace = true

[target.'cfg(not(target_os = "none"))'.dev-dependencies]
ax-sync = { path = ".", features = ["multitask"] }
ax-task = { workspace = true, features = ["test"] }
# FIXME: `rand` crate can not be used since https://github.com/google/zerocopy/pull/2574
fastrand = "2.3"
