tree-sitter / tree-sitter-javascript

Javascript grammar for tree-sitter
MIT License
323 stars 109 forks source link

Loosen Rust crate's tree-sitter dependency #207

Closed dcreager closed 2 years ago

dcreager commented 2 years ago

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.)

dcreager commented 2 years ago

I've also backported this PR to a new rust-0.19 branch that lets up publish a patch release of the 0.19 version of this crate. (That doesn't include all of the recent grammar updates, which have been released as 0.20, and allows grammar consumers to update to tree-sitter 0.20 without having to update to the newest grammar as well.)

dcreager commented 2 years ago

Published 0.19.1 and 0.20.0 with this update