wavekat-vad 0.1.14

Unified voice activity detection with multiple backends
# 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 = "2021"
name = "wavekat-vad"
version = "0.1.14"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified voice activity detection with multiple backends"
homepage = "https://github.com/wavekat/wavekat-vad"
documentation = "https://docs.rs/wavekat-vad"
readme = "README.md"
keywords = [
    "vad",
    "voice-detection",
    "audio",
    "speech",
    "webrtc",
]
categories = ["multimedia::audio"]
license = "Apache-2.0"
repository = "https://github.com/wavekat/wavekat-vad"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["webrtc"]
denoise = ["dep:nnnoiseless"]
firered = [
    "dep:ort",
    "dep:ndarray",
    "dep:realfft",
    "dep:ureq",
]
serde = ["dep:serde"]
silero = [
    "dep:ort",
    "dep:ndarray",
    "dep:ureq",
]
ten-vad = [
    "dep:ort",
    "dep:ndarray",
    "dep:realfft",
    "dep:ureq",
]
webrtc = ["dep:webrtc-vad"]

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

[[example]]
name = "detect_speech"
path = "examples/detect_speech.rs"

[[example]]
name = "firered_file"
path = "examples/firered_file.rs"
required-features = ["firered"]

[[example]]
name = "ten_vad_file"
path = "examples/ten_vad_file.rs"
required-features = ["ten-vad"]

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

[[bench]]
name = "vad_comparison"
path = "benches/vad_comparison.rs"
harness = false

[dependencies.ndarray]
version = "0.17"
optional = true

[dependencies.nnnoiseless]
version = "0.5"
optional = true

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

[dependencies.realfft]
version = "3"
optional = true

[dependencies.rubato]
version = "0.16"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.webrtc-vad]
version = "0.4"
optional = true

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.hound]
version = "3.5"

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1"

[build-dependencies.ureq]
version = "3"
optional = true