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.
This commit is contained in:
Will Lillis 2025-12-08 15:15:38 -05:00
parent d861e2bcd9
commit 974be3bb30

View file

@ -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" }