Skip to content

Commit

Permalink
Loosen Rust crate's tree-sitter dependency (#129)
Browse files Browse the repository at this point in the history
Nothing in the Rust binding depends on tree-sitter 0.20 in particular;
it works just fine if you haven't updated from 0.19 yet.  (Other
versions might work as well; these are the only two that I tested.)
  • Loading branch information
dcreager authored Sep 30, 2021
1 parent 6002362 commit 8600d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ include = [
path = "bindings/rust/lib.rs"

[dependencies]
tree-sitter = "0.19"
tree-sitter = ">= 0.19, < 0.21"

[build-dependencies]
cc = "1.0"

0 comments on commit 8600d7f

Please sign in to comment.