From 974be3bb30282fdf545c5724bf4367786519a1b6 Mon Sep 17 00:00:00 2001 From: Will Lillis Date: Mon, 8 Dec 2025 15:15:38 -0500 Subject: [PATCH] fix(rust): specify workspace dependency of `tree-sitter-language` crate as "0.1" If a rust project depends on both the tree-sitter lib bindings and the language crate, cargo needs to be able to resolve a common version of the tree-sitter-language crate. Specifying exactly "0.1.5" for the lib bindings is overly restrictive, and could lead to future headaches. By specifying "0.1", any "0.1.x" version should be available to resolve to. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 71cf0253..9461cbf0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -160,4 +160,4 @@ tree-sitter-config = { version = "0.26.0", path = "./crates/config" } tree-sitter-highlight = { version = "0.26.0", path = "./crates/highlight" } tree-sitter-tags = { version = "0.26.0", path = "./crates/tags" } -tree-sitter-language = { version = "0.1.5", path = "./crates/language" } +tree-sitter-language = { version = "0.1", path = "./crates/language" }