refactor(validators): 优化别名解析流程

- 新增 parse_tokens 按空格切分字符串
- 其他优化
This commit is contained in:
2026-08-26 17:47:21 +08:00
parent 9e1051737a
commit 219a6b3d51
5 changed files with 288 additions and 73 deletions

10
Cargo.lock generated
View File

@@ -88,15 +88,6 @@ version = "1.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e5e8f6c15a24b9a3ee5efec809ccd006d3b30e8b3bb63c39af737c7f87daa1d"
[[package]]
name = "encoding_rs"
version = "0.8.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3"
dependencies = [
"cfg-if",
]
[[package]]
name = "find-msvc-tools"
version = "0.1.11"
@@ -170,7 +161,6 @@ version = "0.1.0"
dependencies = [
"anyhow",
"dunce",
"encoding_rs",
"mlua",
"tinyjson",
"tracing",