m-novikov / tree-sitter-sql

SQL syntax highlighting for tree-sitter
MIT License
110 stars 32 forks source link

update dependency and remove Cargo.lock because tree-sitter-sql is a non-end product #76

Closed hirosassa closed 6 months ago

hirosassa commented 1 year ago

Hi developers! Thanks for developing a great library!

I removed Cargo.lock to relax the dependency on tree-sitter.

In Cargo.toml, tree-sitter version is specified by tree-sitter = ">= 0.19, < 0.21", but Cargo.lock fixes tree-sitter version to 0.19.5. In this case, cargo will install 0.19.5 version of tree-sitter in any situations. Since we would like to use tree-sitter-sql with newer version of tree-sitter, I removed Cargo.lock.

The detailed description of this problem shown in the document below. ref: https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html

Also, I updated dependency of tree-sitter version to follow newer version.

cc @takegue

hirosassa commented 1 year ago

@m-novikov Hi! Could you review this PR?

domenkozar commented 6 months ago

@m-novikov ping