[package]
name = "nihility-listener"
version = "0.3.1"
edition = "2024"
publish = ["gitea", "crates-io"]
authors = ["nihilityer <nihilityer@mail.nihilityer.top>"]
description = "nihility project asr module"
license = "MIT"
repository = "https://github.com/nihilityer/nihility-listener"
homepage = "https://github.com/nihilityer/nihility-listener"
documentation = "https://docs.rs/nihility-listener"
readme = "README.md"
keywords = ["nihility", "asr", "vad"]

[dependencies]
tokio = { version = "1.48", default-features = false, features = ["sync", "macros"] }
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] }
tracing = { version = "0.1", default-features = false }
thiserror = { version = "2.0" }

ort = { version = "2.0.0-rc.10", features = ["ndarray"] }
cpal = { version = "0.16", default-features = false }
realfft = { version = "3.5" }
ndarray = { version = "0.16", default-features = false }
ndarray-npy = { version = "0.9", default-features = false }
tokenizers = { version = "0.22", default-features = false, features = ["esaxx_fast", "onig", "progressbar"] }
num-complex = { version = "0.4", default-features = false }

nihility-config = { version = "0.2.0" }

[dev-dependencies]
nihility-log = { version = "0.1.2" }
hound = { version = "3.5" }
tokio = { version = "1.48", features = ["test-util", "macros", "sync", "rt-multi-thread", "rt"] }

[lints.clippy]
unwrap_used = "deny"