New comment by gbrlsnchs on void-packages repository https://github.com/void-linux/void-packages/pull/29272#issuecomment-792380919 Comment: > I was really happy with building tree-sitter not requiring any Rust just yet... Do you think this is strictly necessary? I think the CLI is part and parcel of tree-sitter as a whole, so currently we have an incomplete package in the repos. I say that based on [this explanation](https://tree-sitter.github.io/tree-sitter/implementation) from its homepage. > Also, due to cross compilation and some other concerns, building the Rust parts would require a whole lot of code, to the point I would consider making this a `build_style=cargo` template and using `make` manually in `post_build` and post_install`for the`libtree-sitter` part; or just creating a paired template that should be updated in tandem that builds only the Rust part. > > Doing the first suggestion will probably work well enough, I think. Yeah, we could have something like `tree-sitter-cli_package()` but, as you said, Rust demands fine-tuning manual installation, so it would be a bad choice maintainability-wise. I can in fact use the `cargo` build style for the CLI and then run the appropriate `make` command in `post_build`/`post_install` as needed, what do you think?