Skip to content

Update Cargo.toml - #117

Merged
verhovsky merged 2 commits into
tree-sitter:masterfrom
nokome:master
Oct 22, 2022
Merged

verhovsky merged 2 commits into
tree-sitter:masterfrom
nokome:master

Conversation

@nokome

@nokome nokome commented Jan 17, 2022

Copy link
Copy Markdown
Contributor

Thanks for tree-sitter-bash 👏🏽 .

This PR, expand the semver range for tree-sitter in Cargo.toml. Using this exampled range avoids the Rust compiler error,

expected struct `tree_sitter::Language`, found a different struct `tree_sitter::Language`
perhaps two different versions of crate `tree_sitter` are being used?

which is encountered when using this crate along side tree-sitter-python, tree-sitter-javascript and tree-sitter-typescript. The range is consistent with the range used in those crates e.g. https://github.com/tree-sitter/tree-sitter-python/blob/master/Cargo.toml).

@nokome

nokome commented Feb 26, 2022

Copy link
Copy Markdown
Contributor Author

Hi. Would appreciate it if this PR could be reviewed and hopefully merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants