moq-audio 0.0.4

Native audio encoding/decoding for Media over QUIC
Documentation
# 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 = "2024"
rust-version = "1.85"
name = "moq-audio"
version = "0.0.4"
authors = ["Luke Curley <kixelated@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native audio encoding/decoding for Media over QUIC"
readme = false
keywords = [
    "quic",
    "http3",
    "webtransport",
    "media",
    "audio",
]
categories = [
    "multimedia",
    "multimedia::audio",
    "multimedia::encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/moq-dev/moq"
resolver = "2"

[features]
capture = [
    "dep:cpal",
    "dep:tokio",
    "dep:tracing",
    "dep:block2",
    "dep:objc2",
    "dep:objc2-av-foundation",
]

[lib]
name = "moq_audio"
path = "src/lib.rs"
doctest = false

[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"

[dependencies.bytes]
version = "1"

[dependencies.cpal]
version = "0.18"
optional = true

[dependencies.hang]
version = "0.19"

[dependencies.moq-mux]
version = "0.5"

[dependencies.moq-net]
version = "0.1"

[dependencies.rubato]
version = "3.0"
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.48"
features = [
    "rt",
    "macros",
]
optional = true

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.unsafe-libopus]
version = "0.2"

[dev-dependencies.tokio]
version = "1.48"
features = [
    "macros",
    "rt",
    "test-util",
]

[target.'cfg(target_os="macos")'.dependencies.block2]
version = "0.6.2"
optional = true

[target.'cfg(target_os="macos")'.dependencies.objc2]
version = "0.6.4"
optional = true

[target.'cfg(target_os="macos")'.dependencies.objc2-av-foundation]
version = "0.3.2"
optional = true