mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-12-01 18:50:04 +08:00
refactor(profile): extract script validation and execution
Share the Boa validation and execution API while preserving the save-side timeout and diagnostics.
This commit is contained in:
Generated
+15
@@ -1097,6 +1097,7 @@ dependencies = [
|
||||
"clash-verge-limiter",
|
||||
"clash-verge-logging",
|
||||
"clash-verge-media-unlock",
|
||||
"clash-verge-profile-script",
|
||||
"clash-verge-runtime-bundle",
|
||||
"clash-verge-signal",
|
||||
"clash-verge-subscription",
|
||||
@@ -1216,6 +1217,20 @@ dependencies = [
|
||||
"tokio",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "clash-verge-profile-script"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"boa_engine",
|
||||
"clash-verge-logging",
|
||||
"log",
|
||||
"parking_lot 0.13.0",
|
||||
"serde_json",
|
||||
"serde_yaml_ng",
|
||||
"tokio",
|
||||
"tristr",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "clash-verge-runtime-bundle"
|
||||
version = "0.1.0"
|
||||
|
||||
Reference in New Issue
Block a user