Skip to content

Commit

Permalink
Loosen tree-sitter dependency versions (#379)
Browse files Browse the repository at this point in the history
* Loosen tree-sitter dependency versions

`tree-sitter` has released changes that are breaking within its library
itself, but that do not bump the ABI_VERSION. This means that although
the `tree-sitter` "major version" has changed, this is compatible across
major versions.
  • Loading branch information
alex-pinkus authored Mar 14, 2024
1 parent 78f2d72 commit feb5398
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ include = [
path = "bindings/rust/lib.rs"

[dependencies]
tree-sitter = "^0.20.4"
tree-sitter = ">=0.20.4, <0.23.0"

[build-dependencies]
cc = "1.0"

[dev-dependencies]
anyhow = "1.0"
tree-sitter = "0.20.4"

0 comments on commit feb5398

Please sign in to comment.