# 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 = "2024"
name = "race"
version = "0.1.12"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Staggered async task executor with race semantics / 阶梯式异步任务执行器，具备竞赛语义"
homepage = "https://github.com/js0-site/rust/tree/main/race"
readme = "README.md"
keywords = [
    "async",
    "race",
    "staggered",
    "executor",
    "stream",
]
license = "MulanPSL-2.0"
repository = "https://github.com/js0-site/rust.git"
resolver = "2"

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

[features]
default = []

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

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

[dependencies.coarsetime]
version = "0.1.36"

[dependencies.futures]
version = "0.3.31"

[dependencies.tokio]
version = "1.48.0"
features = [
    "time",
    "rt",
]

[dev-dependencies.aok]
version = "0.1.18"

[dev-dependencies.env_logger]
version = "0.11.8"

[dev-dependencies.log]
version = "0.4.29"

[dev-dependencies.log_init]
version = "0.1.34"

[dev-dependencies.static_init]
version = "1.0.4"

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