summaryrefslogtreecommitdiffstats
path: root/third_party/rust/audio_thread_priority/Cargo.toml
blob: 30861cdafd98a747f510c971249e04506bd14465 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# 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.31.0"
authors = ["Paul Adenot <paul@paul.cx>"]
description = "Bump a thread to real-time priority, for audio work, on Linux, Windows and macOS"
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/padenot/audio_thread_priority"

[lib]
name = "audio_thread_priority"
crate-type = [
    "staticlib",
    "rlib",
]

[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"

[features]
default = ["with_dbus"]
terminal-logging = ["simple_logger"]
with_dbus = ["dbus"]

[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.mach]
version = "0.3"

[target."cfg(target_os = \"windows\")".dependencies.windows-sys]
version = "0.52"
features = [
    "Win32_Foundation",
    "Win32_System_Threading",
]