Skip to content

Let tree-sitter-kotlin's rust binding support tree-sitter 0.24? #159

@eval-exec

Description

@eval-exec

It seems that tree-sitter-kotlin v0.38 doesn't work well with tree-sitter 0.24

    Updating crates.io index
error: failed to select a version for `tree-sitter`.
    ... required by package `tree-sitter-kotlin v0.3.8`
    ... which satisfies dependency `tree-sitter-kotlin = "^0.3.8"` of package `bones-grep v0.1.0 (/home/exec/Projects/github.com/eval-exec/bones-grep)`
versions that meet the requirements `>=0.21, <0.23` are: 0.22.6, 0.22.5, 0.22.4, 0.22.3, 0.22.2, 0.22.1, 0.21.0

the package `tree-sitter` links to the native library `tree-sitter`, but it conflicts with a previous package which links to `tree-sitter` as well:
package `tree-sitter v0.24.2`
    ... which satisfies dependency `tree-sitter = "^0.24.2"` of package `bones-grep v0.1.0 (/home/exec/Projects/github.com/eval-exec/bones-grep)`
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the `links = "tree-sitter"` value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.

failed to select a version for `tree-sitter` which could resolve this conflict

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions