ikatyang / tree-sitter-yaml

YAML grammar for tree-sitter
https://ikatyang.github.io/tree-sitter-yaml/
MIT License
94 stars 38 forks source link

Provide the rust bindings via crates.io #32

Open razzeee opened 2 years ago

razzeee commented 2 years ago

Hey,

coming here from https://github.com/denoland/deno/issues/12217#issuecomment-939349448

It might be helpful to have rust bindings.

You might be able to more or less copy my work from tree-sitter-elm https://github.com/elm-tooling/tree-sitter-elm/blob/main/.github/workflows/publish.yml https://github.com/elm-tooling/tree-sitter-elm/blob/main/Cargo.toml

You'll also need to update tree-sitter, as the latest version is able to automatically create the needed rust bindings.

wingyplus commented 2 years ago

I've working on generating rust bindings for yaml grammar here. The cargo build and test is just passed. :)