ax-task 0.7.1

OS-independent IRQ-safe SMP task scheduling core
Documentation
# 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 = "ax-task"
version = "0.7.1"
authors = ["RCore Team <yuchen@tsinghua.edu.cn>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OS-independent IRQ-safe SMP task scheduling core"
readme = false
license = "Apache-2.0"
repository = "https://github.com/rcore-os/tgoskits"

[features]
default = []
host-test = ["smp"]
lockdep = ["dep:axpanic"]
qperf-metrics = []
smp = []

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

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

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

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

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

[dependencies.axpanic]
version = "0.1"
optional = true

[dependencies.cfg-if]
version = "1.0"

[dependencies.lock_api]
version = "0.4"
default-features = false

[dependencies.thiserror]
version = "2"
default-features = false

[dependencies.trait-ffi]
version = "0.3.0"

[dev-dependencies.loom]
version = "0.7.2"

[target.'cfg(target_arch = "riscv64")'.dependencies.sbi-rt]
version = "0.0.4"
features = ["legacy"]
default-features = false

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(axtest)"]