summaryrefslogtreecommitdiffstats
path: root/third_party/rust/audioipc2/Cargo.toml
blob: 98de8c77a655235afdc7aef902241507655c7eaa (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# 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 = "audioipc2"
version = "0.5.0"
authors = [
    "Matthew Gregan <kinetik@flim.org>",
    "Dan Glastonbury <dan.glastonbury@gmail.com>",
]
description = "Remote Cubeb IPC"
license = "ISC"

[[bench]]
name = "serialization"
harness = false

[dependencies]
bincode = "1.3"
byteorder = "1"
bytes = "1"
crossbeam-queue = "0.3"
cubeb = "0.10"
log = "0.4"
scopeguard = "1.1.0"
serde = "1"
serde_bytes = "0.11"
serde_derive = "1"
slab = "0.4"

[dependencies.error-chain]
version = "0.12.0"
default-features = false

[dependencies.mio]
version = "0.8"
features = [
    "os-poll",
    "net",
    "os-ext",
]

[dev-dependencies]
env_logger = "0.9"

[dev-dependencies.criterion]
version = "0.3"
features = ["html_reports"]

[build-dependencies]
cc = "1.0"

[target."cfg(target_os = \"android\")".dependencies]
ashmem = "0.1.2"

[target."cfg(target_os = \"linux\")".dependencies.audio_thread_priority]
version = "0.26.1"
default-features = false

[target."cfg(unix)".dependencies]
arrayvec = "0.7"
iovec = "0.1"
libc = "0.2"
memmap2 = "0.5"

[target."cfg(windows)".dependencies.winapi]
version = "0.3"
features = [
    "combaseapi",
    "handleapi",
    "memoryapi",
    "objbase",
]