[package]
name = "race"
version = "0.1.12"
edition = "2024"
license = "MulanPSL-2.0"
repository = "https://github.com/js0-site/rust.git"
homepage = "https://github.com/js0-site/rust/tree/main/race"
description = "Staggered async task executor with race semantics / 阶梯式异步任务执行器，具备竞赛语义"
keywords = ["async", "race", "staggered", "executor", "stream"]

[features]
default = []

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
coarsetime = "0.1.36"
futures = "0.3.31"
tokio = { version = "1.48.0", features = ["time", "rt"] }

[dev-dependencies]
aok = "0.1.18"
env_logger = "0.11.8"
log = "0.4.29"
log_init = "0.1.34"
static_init = "1.0.4"

[dev-dependencies.tokio]
version = "1.48.0"
features = ["macros", "rt", "rt-multi-thread", "time", "sync", "net"]