Bump to Lua 5.5

This commit is contained in:
Priler 2026-02-08 06:42:58 +05:00
parent d132ffacac
commit f9cb13eb25
4 changed files with 691 additions and 23 deletions

703
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -41,7 +41,8 @@ fluent = "0.17.0"
fluent-bundle = "0.16.0" fluent-bundle = "0.16.0"
unic-langid = "0.9" unic-langid = "0.9"
chrono = "0.4" chrono = "0.4"
mlua = { version = "0.11.5", features = ["lua54", "vendored", "async", "serde"] } mlua = { version = "0.11.5", features = ["lua55", "vendored", "async", "serde"] }
reqwest = { version = "0.13.1", features = ["blocking", "json"] } reqwest = { version = "0.13.1", features = ["blocking", "json"] }
tempfile = "^3.24" tempfile = "^3.24"
winrt-notification = "0.5" winrt-notification = "0.5"
fastembed = "^5.8.1"

View file

@ -42,12 +42,14 @@ mlua = { workspace = true, optional = true }
reqwest = { workspace = true, optional = true } reqwest = { workspace = true, optional = true }
tempfile.workspace = true tempfile.workspace = true
fastembed = { workspace = true, optional = true }
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
winrt-notification = { workspace = true, optional = true } winrt-notification = { workspace = true, optional = true }
[features] [features]
default = ["jarvis_app"] default = ["jarvis_app"]
jarvis_app = ["vosk", "intent-classifier", "tokio", "nnnoiseless", "tokio-tungstenite", "futures-util", "lua"] jarvis_app = ["vosk", "intent-classifier", "fastembed", "tokio", "nnnoiseless", "tokio-tungstenite", "futures-util", "lua"]
intent = ["intent-classifier", "tokio"] intent = ["intent-classifier", "tokio"]
lua = ["mlua", "reqwest", "winrt-notification"] lua = ["mlua", "reqwest", "winrt-notification"]
lua_only = ["lua", "tokio"] lua_only = ["lua", "tokio"]

View file

@ -11,7 +11,7 @@ pub enum WakeWordEngine {
#[derive(Clone, Copy, Serialize, Deserialize, Debug, PartialEq)] #[derive(Clone, Copy, Serialize, Deserialize, Debug, PartialEq)]
pub enum IntentRecognitionEngine { pub enum IntentRecognitionEngine {
IntentClassifier, IntentClassifier,
Rasa, EmbeddingClassifier,
} }
#[derive(Clone, Copy, Serialize, Deserialize, Debug, PartialEq)] #[derive(Clone, Copy, Serialize, Deserialize, Debug, PartialEq)]