tree-sitter / tree-sitter-rust

Rust grammar for tree-sitter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feature: Update version of `tree-sitter` crate to the latest one

Jujumba opened this issue · comments

Did you check the tree-sitter docs?

Is your feature request related to a problem? Please describe.

The outdated version disallows proper use with latest tree-sitter version, also confuses a lot.

As the time of writing, the latest version of tree-sitter is 0.22.2 whereas the crate uses ~0.20.10 version requirement.

Describe the solution you'd like

Update the Cargo.toml file =)

Additionally, tree-sitter crate has broken semver semantics. Parser::set_language function's signature was changed, but the patch was submitted as a minor update. So more changes have to be made.

Describe alternatives you've considered

None

Additional context

No response

0.21.0 is now released on git(hub), crates, npm, and pypi, yeah this should've been released sooner, sorry about that.

Also, semver was not broken, anything goes in zerover technically ;)