Ran tree-sitter generate. It now generates a Cargo.toml and rust bindings so it can be used as any other crate.
Edit: Just noticed this has a dependency on tree-sitter 0.17.0 instead of 0.19.3, that breaks any crate that uses multiple parsers since most will depend on 0.19.3, not sure why generate did this.
Edit: Filed an issue. Deleted existing rust bindings to force them to regenerate but this is giving me build failures now for the parser.
Ran
tree-sitter generate
. It now generates a Cargo.toml and rust bindings so it can be used as any other crate.Edit: Just noticed this has a dependency on tree-sitter 0.17.0 instead of 0.19.3, that breaks any crate that uses multiple parsers since most will depend on 0.19.3, not sure why
generate
did this.Edit: Filed an issue. Deleted existing rust bindings to force them to regenerate but this is giving me build failures now for the parser.