[package]
edition = "2024"
rust-version = "1.85"
name = "thread-priority"
version = "3.1.0"
authors = ["Victor Polevoy <fx@thefx.co>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library for managing threads priority and schedule policies"
documentation = "https://docs.rs/thread-priority/"
readme = "README.md"
keywords = [
"thread",
"schedule",
"priority",
"pthread",
]
categories = [
"concurrency",
"asynchronous",
"os",
]
license = "MIT"
repository = "https://github.com/iddm/thread-priority"
[lib]
name = "thread_priority"
path = "src/lib.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "unix"
path = "tests/unix.rs"
[[test]]
name = "windows"
path = "tests/windows.rs"
[dependencies.bitflags]
version = "2"
[dependencies.cfg-if]
version = "1"
[dependencies.log]
version = "0.4"
[dependencies.rustversion]
version = "1"
[dev-dependencies.rstest]
version = "0.25"
[target.'cfg(any(target_os = "linux", target_os = "android", target_os = "macos", target_os = "ios", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.libc]
version = ">=0.2.123"
[target.'cfg(target_os = "vxworks")'.dependencies.libc]
version = ">=0.2.161"
[target."cfg(windows)".dependencies.libc]
version = ">=0.2.123"
[target."cfg(windows)".dependencies.windows]
version = ">=0.61"
features = [
"Win32",
"Win32_System",
"Win32_System_Threading",
"Win32_System_WindowsProgramming",
]