[package]
edition = "2024"
name = "aria-wake"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wake-word detection with openWakeWord and livekit-wakeword models"
readme = "README.md"
keywords = [
"wake-word",
"hotword",
"keyword-spotting",
"openwakeword",
"voice",
]
license = "Apache-2.0"
repository = "https://github.com/Farhad-Shabani/aria"
[package.metadata.docs.rs]
features = [
"livekit",
"openwakeword",
]
[features]
default = []
livekit = [
"dep:ort",
"dep:thiserror",
]
openwakeword = [
"dep:ort",
"dep:thiserror",
]
[lib]
name = "aria_wake"
path = "src/lib.rs"
[[test]]
name = "livekit_detection"
path = "tests/livekit_detection.rs"
required-features = ["livekit"]
[[test]]
name = "openwakeword_detection"
path = "tests/openwakeword_detection.rs"
required-features = ["openwakeword"]
[dependencies.aria-kit]
version = "0.7.0"
[target.'cfg(not(target_family = "wasm"))'.dependencies.ort]
version = "=2.0.0-rc.13"
optional = true
[target.'cfg(not(target_family = "wasm"))'.dependencies.thiserror]
version = "2"
optional = true
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.aria-kit]
version = "0.7.0"
features = ["test-support"]
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.hound]
version = "3.5"
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.tempfile]
version = "3"
[lints.clippy]
dbg_macro = "deny"
debug_assert_with_mut_call = "deny"
doc_link_with_quotes = "deny"
inefficient_to_string = "deny"
manual_ok_or = "deny"
map_flatten = "deny"
match_same_arms = "deny"
redundant_clone = "deny"
semicolon_if_nothing_returned = "deny"
todo = "deny"
trait_duplication_in_bounds = "deny"
unimplemented = "deny"
uninlined_format_args = "deny"
use_self = "deny"
[lints.rust]
dead_code = "deny"
trivial_casts = "deny"
unreachable_pub = "deny"
unsafe_code = "deny"
unused_import_braces = "deny"
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1