[package]
edition = "2018"
name = "audio_thread_priority"
version = "0.35.0"
authors = ["Paul Adenot <paul@paul.cx>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bump a thread to real-time priority, for audio work, on Linux, Android, Windows and macOS"
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/padenot/audio_thread_priority"
[features]
default = ["with_dbus"]
terminal-logging = ["simple_logger"]
with_dbus = ["dbus"]
[lib]
name = "audio_thread_priority"
crate-type = [
"staticlib",
"rlib",
]
path = "src/lib.rs"
[dependencies.cfg-if]
version = "1.0"
[dependencies.log]
version = "0.4"
[dependencies.simple_logger]
version = "0.4"
optional = true
[dev-dependencies.nix]
version = "0.26"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.libc]
version = "0.2"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.mach2]
version = "0.4"
[target.'cfg(target_os = "android")'.dependencies.libc]
version = "0.2"
[target.'cfg(target_os = "linux")'.dependencies.dbus]
version = "0.6.4"
optional = true
[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.52"
features = [
"Win32_Foundation",
"Win32_System_LibraryLoader",
]