Source code
Revision control
Copy as Markdown
Other Tools
# 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 = "2018"
name = "audio_thread_priority"
version = "0.34.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"
[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(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 = "macos")'.dependencies.libc]
version = "0.2"
[target.'cfg(target_os = "macos")'.dependencies.mach2]
version = "0.4"
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.52"
features = [
"Win32_Foundation",
"Win32_System_LibraryLoader",
]