Revision control

Copy as Markdown

Other Tools

[package]
name = "audio_thread_priority"
version = "0.34.0"
authors = ["Paul Adenot <paul@paul.cx>"]
description = "Bump a thread to real-time priority, for audio work, on Linux, Android, Windows and macOS"
license = "MPL-2.0"
edition = "2018"
[lib]
crate-type = ["staticlib", "rlib"]
name = "audio_thread_priority"
[dependencies]
cfg-if = "1.0"
log = "0.4"
simple_logger = { version = "0.4", optional = true }
[dev-dependencies]
nix = "0.26"
[features]
terminal-logging = ["simple_logger"]
with_dbus = ["dbus"]
default = ["with_dbus"]
[target.'cfg(target_os = "macos")'.dependencies]
mach2 = "0.4"
libc = "0.2"
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.52"
features = [
"Win32_Foundation",
"Win32_System_LibraryLoader",
]
[target.'cfg(target_os = "linux")'.dependencies]
libc = "0.2"
[target.'cfg(target_os = "linux")'.dependencies.dbus]
version = "0.6.4"
optional = true
[target.'cfg(target_os = "android")'.dependencies]
libc = "0.2"