perf: use native walkdir for recursive imports from directory (#2993)

* fix(perf): replace JS recursion with native Rust walkdir for imports

* fix: implement security scope check in rust recursive scanner

* refactor and format code

---------

Co-authored-by: Huang Xin <chrox.huang@gmail.com>
This commit is contained in:
xijibomi-coffee
2026-01-20 06:22:04 +01:00
committed by GitHub
parent d9a6cffe78
commit f875ba88ac
8 changed files with 208 additions and 53 deletions
+1
View File
@@ -26,6 +26,7 @@ serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
log = "0.4"
thiserror = "2"
walkdir = "2"
tokio = { version = "1", features = ["fs"] }
tokio-util = { version = "0.7", features = ["codec"] }
futures-util = "0.3"