On Sun, Dec 1, 2024 at 7:11 PM Fabio Valentini decathorpe@gmail.com wrote:
On Tue, Nov 26, 2024 at 2:52 PM Peter Oliver via Rust rust@lists.fedoraproject.org wrote:
TL;DR: Should Rust bindings for Tree-sitter parsers be packaged independently (using the usual Rust packaging process), or should they be a subpackage of the main Tree-sitter parser package (effectively giving us Rust bindings for free, but not using rust2rpm, etc.)?
Well, you'll get the same response from me here as on the "packaging" list ...
In theory, both approaches (1. building from published Rust crate, vs. 2. building the Rust crate from the GitHub release) *should* work, though I have doubts about how reliable option 1 would be.
This should obviously have been "how reliable option 2 would be" - sorry about that.
However, without additional work and changes to our current guidelines for Rust crates, option 2. won't work and won't be allowed.
Fabio