fix(config): 优化配置解析

- 完善 `FromLua` 转换与边界校验,拦截空洞 (`nil`) 及非整数键
This commit is contained in:
2026-08-19 11:34:16 +08:00
parent e3cb065b35
commit f59040c11e
7 changed files with 168 additions and 167 deletions

View File

@@ -11,9 +11,9 @@ opt-level = "z"
panic = "abort"
[dependencies]
thiserror = "2.0.20"
anyhow = "1.0.104"
mlua = { version = "0.12.0", features = ["lua54", "vendored"] }
mlua = { version = "0.12.0", features = ["lua54", "vendored","send"] }
windows-sys = { version = "0.61.2", features = [
"Win32_Foundation",
"Win32_System_Com",