chore: add webrtc-vad workspace dep

This commit is contained in:
Bossiara13 2026-04-23 11:07:04 +03:00
parent 3429d934e3
commit 3f19366ad0
3 changed files with 15 additions and 1 deletions

10
Cargo.lock generated
View file

@ -3331,6 +3331,7 @@ dependencies = [
"toml 0.9.11+spec-1.1.0", "toml 0.9.11+spec-1.1.0",
"unic-langid", "unic-langid",
"vosk", "vosk",
"webrtc-vad",
"winrt-notification", "winrt-notification",
] ]
@ -8598,6 +8599,15 @@ dependencies = [
"rustls-pki-types", "rustls-pki-types",
] ]
[[package]]
name = "webrtc-vad"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39a1e40fd6ca90be95459152a2537f2ba4286ee1b13073f7ebcaa74fc94e3008"
dependencies = [
"cc",
]
[[package]] [[package]]
name = "webview2-com" name = "webview2-com"
version = "0.38.2" version = "0.38.2"

View file

@ -53,4 +53,5 @@ ndarray = "0.17"
tokenizers = { version = "0.22", default-features = false } tokenizers = { version = "0.22", default-features = false }
regex = "1" regex = "1"
sys-locale = "0.3" sys-locale = "0.3"
webrtc-vad = "0.4"

View file

@ -24,6 +24,7 @@ parking_lot.workspace = true
toml.workspace = true toml.workspace = true
sha2.workspace = true sha2.workspace = true
nnnoiseless = { workspace = true, optional = true } nnnoiseless = { workspace = true, optional = true }
webrtc-vad = { workspace = true, optional = true }
tokio-tungstenite = { workspace = true, optional = true } tokio-tungstenite = { workspace = true, optional = true }
futures-util = { workspace = true, optional = true } futures-util = { workspace = true, optional = true }
fluent.workspace = true fluent.workspace = true
@ -58,7 +59,9 @@ default = ["jarvis_app"]
jarvis_app = [ jarvis_app = [
"vosk", "intent-classifier", "fastembed", "tokio", "nnnoiseless", "tokio-tungstenite", "futures-util", "vosk", "intent-classifier", "fastembed", "tokio", "nnnoiseless", "tokio-tungstenite", "futures-util",
"lua", "llm", "lua", "llm",
"ort", "ndarray", "tokenizers", "regex",] "ort", "ndarray", "tokenizers", "regex",
"webrtc-vad",
]
intent = ["intent-classifier", "tokio"] intent = ["intent-classifier", "tokio"]
lua = ["mlua", "reqwest", "winrt-notification"] lua = ["mlua", "reqwest", "winrt-notification"]