1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
Description: use older minor version of crate tree-sitter
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2025-08-28
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,7 +14,7 @@
[dependencies]
anyhow = "1.0.86"
clap = { version = "4.5.16", features = ["derive"] }
-tree-sitter = "0.24.6"
+tree-sitter = "0.22.6"
[dev-dependencies]
oxrdf = "0.2.0"
@@ -23,4 +23,4 @@
[build-dependencies]
cc = "1.1.15"
-tree-sitter-generate = "0.24.6"
+tree-sitter-cli = "0.22.6"
--- a/build.rs
+++ b/build.rs
@@ -32,7 +32,7 @@
.unwrap();
// We convert the TreeSitter grammar to C
- tree_sitter_generate::generate_parser_in_directory(&build_path, None, 14, None, None).unwrap();
+ tree_sitter_cli::generate::generate_parser_in_directory(&build_path, None, 14, false, None, None).unwrap();
// We build the C code
let src_path = build_path.join("src");
|