chore: update dependencies and fix tree-sitter compatibility
Update dependencies via cargo update to latest compatible versions: - sqlx: 0.8.0 → 0.8.6 (bug fixes and improvements) - libsqlite3-sys: 0.28.0 → 0.30.1 - webpki-roots: 0.25.4 → 0.26.11 (TLS security updates) - hashlink: 0.9.1 → 0.10.0 - serde_json: updated to 1.0.145 Fix tree-sitter version mismatch: - Update owlen-tui dependency to tree-sitter 0.25 (from 0.20) - Adapt API call: set_language() now requires &Language reference - Location: crates/owlen-tui/src/state/search.rs:715 Security audit results (cargo audit): - 1 low-impact advisory in sqlx-mysql (not used - we use SQLite) - 3 unmaintained warnings in test dependencies (acceptable) - No critical vulnerabilities in production dependencies Testing: - ✅ cargo build --all: Success - ✅ cargo test --all: 171+ tests pass, 0 failures - ✅ cargo clippy: Clean - ✅ cargo audit: No critical issues 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -23,7 +23,7 @@ async-trait = "0.1"
|
|||||||
globset = "0.4"
|
globset = "0.4"
|
||||||
ignore = "0.4"
|
ignore = "0.4"
|
||||||
pathdiff = "0.2"
|
pathdiff = "0.2"
|
||||||
tree-sitter = "0.20"
|
tree-sitter = "0.25"
|
||||||
tree-sitter-rust = "0.20"
|
tree-sitter-rust = "0.20"
|
||||||
dirs = { workspace = true }
|
dirs = { workspace = true }
|
||||||
toml = { workspace = true }
|
toml = { workspace = true }
|
||||||
|
|||||||
@@ -712,7 +712,7 @@ async fn run_symbol_indexer(
|
|||||||
tokio::task::spawn_blocking(move || -> Result<()> {
|
tokio::task::spawn_blocking(move || -> Result<()> {
|
||||||
let mut parser = Parser::new();
|
let mut parser = Parser::new();
|
||||||
parser
|
parser
|
||||||
.set_language(tree_sitter_rust::language())
|
.set_language(&tree_sitter_rust::language())
|
||||||
.context("failed to initialise tree-sitter for Rust")?;
|
.context("failed to initialise tree-sitter for Rust")?;
|
||||||
|
|
||||||
let mut walker = WalkBuilder::new(&root);
|
let mut walker = WalkBuilder::new(&root);
|
||||||
|
|||||||
Reference in New Issue
Block a user