Skip to content

Commit 820a14d

Browse files
committed
fix: revert reqwest 0.12→0.11 and tree-sitter-python 0.25→0.23
reqwest 0.12 pulls in hyper 1.0 with massive dependency tree causing 200MB+ memory regression. tree-sitter-python 0.25 may also have heavier parse tables. Revert to stable versions.
1 parent 6fd1853 commit 820a14d

2 files changed

Lines changed: 7 additions & 87 deletions

File tree

src-tauri/Cargo.lock

Lines changed: 5 additions & 85 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ tree-sitter = "0.26.9"
4040
tree-sitter-rust = "0.24.2"
4141
tree-sitter-typescript = "=0.23.0" # 0.23.2 parser.c fails MSVC 14.50 (C2099)
4242
tree-sitter-javascript = "0.23"
43-
tree-sitter-python = "0.25"
43+
tree-sitter-python = "0.23"
4444
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "io-util", "net", "time", "fs"] }
4545
walkdir = "2"
4646
tauri-plugin-dialog = "2"
@@ -49,7 +49,7 @@ tokio-util = { version = "0.7.10", features = ["codec"] }
4949
lsp-types = "0.94.1"
5050
axum = "0.7"
5151
anyhow = "1"
52-
reqwest = { version = "0.12", features = ["json", "stream"] }
52+
reqwest = { version = "0.11", features = ["json", "stream"] }
5353
ripgrep = "15.1.0"
5454
ripgrep-api = "0.2.0"
5555
sysinfo = "0.30"

0 commit comments

Comments
 (0)