tree-sitter / tree-sitter-rust

Rust grammar for tree-sitter
MIT License
338 stars 96 forks source link

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

Closed Jujumba closed 4 months ago

Jujumba commented 4 months ago

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

amaanq commented 4 months ago

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