voxudio 0.7.1

A real-time audio processing library with ONNX runtime support
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"
name = "voxudio"
version = "0.7.1"
authors = ["mzdk100 <mzdk100@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A real-time audio processing library with ONNX runtime support"
readme = "README.md"
keywords = [
    "audio",
    "processing",
    "onnx",
    "real-time",
    "machine-learning",
]
license = "Apache-2.0"
repository = "https://github.com/mzdk100/voxudio"

[features]
device = ["cpal"]
knf = []
model = [
    "ort/default",
    "futures-util/default",
    "async-stream",
]
opus = []
sonic = []

[lib]
name = "voxudio"
path = "src/lib.rs"

[[example]]
name = "ac"
path = "examples/ac.rs"
required-features = ["device"]

[[example]]
name = "ap"
path = "examples/ap.rs"
required-features = ["device"]

[[example]]
name = "asr"
path = "examples/asr.rs"
required-features = [
    "model",
    "knf",
]

[[example]]
name = "oc"
path = "examples/oc.rs"
required-features = ["opus"]

[[example]]
name = "offe"
path = "examples/offe.rs"
required-features = ["knf"]

[[example]]
name = "see"
path = "examples/see.rs"
required-features = ["model"]

[[example]]
name = "ss"
path = "examples/ss.rs"
required-features = [
    "sonic",
    "device",
]

[[example]]
name = "tcc"
path = "examples/tcc.rs"
required-features = [
    "model",
    "device",
]

[[example]]
name = "vad"
path = "examples/vad.rs"
required-features = [
    "model",
    "device",
]

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

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

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

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

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

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

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

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

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

[dependencies.async-stream]
version = "0.3.6"
optional = true

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

[dependencies.futures-util]
version = "0.3.32"
optional = true

[dependencies.ndarray]
version = "0.17.2"

[dependencies.ort]
version = "2.0.0-rc.12"
optional = true

[dependencies.rodio]
version = "0.22.2"
features = [
    "mp3",
    "wav",
]
default-features = false

[dependencies.tokio]
version = "1.52.3"
features = [
    "fs",
    "sync",
    "time",
]

[dev-dependencies.anyhow]
version = "1.0.102"

[dev-dependencies.tokio]
version = "1.52.3"
features = [
    "macros",
    "rt-multi-thread",
]

[build-dependencies.bindgen]
version = "0.72.1"

[build-dependencies.cc]
version = "1.2.63"