# 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.6.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.13"
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.32"
default-features = false

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

[target."cfg(windows)".dependencies.windows-sys]
version = "0.52"
features = [
    "Win32_Foundation",
    "Win32_Security",
    "Win32_Storage_FileSystem",
    "Win32_System_Com",
    "Win32_System_Memory",
    "Win32_System_Threading",
]
