Skip to content

Commit 1b74d32

Browse files
committed
feat: 支持使用KDL创建节点
1 parent 1eacc54 commit 1b74d32

8 files changed

Lines changed: 284 additions & 19 deletions

File tree

Cargo.lock

Lines changed: 224 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ lucide-icons = "0.563.0"
1919
# 序列化与多态支持
2020
serde = { version = "1.0.228", features = ["derive"] }
2121
serde_json = "1.0.149"
22+
knus = { git = "https://github.com/TheLostLambda/knus", branch = "kdl2" }
2223
typetag = "0.2.21"
2324
dyn-clone = "1.0.20"
2425
once_cell = "1.21.3"
@@ -36,6 +37,7 @@ lru = "0.16.3"
3637
# 日志与调试
3738
log = "0.4.29"
3839
env_logger = "0.11.8"
40+
miette = { version = "7.6.0", features = ["fancy"] }
3941

4042
# WebAssembly 支持
4143
wasm-bindgen = "0.2.108"

crates/project_graph/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ dyn-clone.workspace = true
4444
once_cell.workspace = true
4545
enum_dispatch.workspace = true
4646
lru.workspace = true
47+
knus.workspace = true
48+
miette.workspace = true
4749

4850
[target.'cfg(not(any(target_os = "android", target_arch = "wasm32")))'.dependencies]
4951
font-kit.workspace = true

0 commit comments

Comments
 (0)