summaryrefslogtreecommitdiffstats
path: root/third_party/rust/audioipc2/Cargo.toml
blob: 17ef5b94e84481127350b9fa386d654ac246073a (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
[package]
name = "audioipc2"
version = "0.5.0"
authors = [
        "Matthew Gregan <kinetik@flim.org>",
        "Dan Glastonbury <dan.glastonbury@gmail.com>"
        ]
license = "ISC"
description = "Remote Cubeb IPC"
edition = "2018"

[dependencies]
bincode = "1.3"
byteorder = "1"
bytes = "1"
cubeb = "0.10"
log = "0.4"
serde = "1"
serde_derive = "1"
serde_bytes = "0.11"
mio = { version = "0.8",  features = ["os-poll", "net", "os-ext"] }
slab = "0.4"
scopeguard = "1.1.0"
crossbeam-channel = "0.5"

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

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

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

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

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

[build-dependencies]
cc = "1.0"

[dev-dependencies]
env_logger = "0.9"
criterion = { version = "0.3", features = ["html_reports"] }

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