Show HN: Hsrs – Type-Safe Haskell Bindings Generator for Rust
Summary
Hsrs is a type-safe bindings generator that creates Rust↔Haskell FFI bindings. By annotating Rust code with hsrs attributes, you generate Haskell bindings that manage memory automatically and serialize complex types via Borsh. The project provides a clear workflow from annotation to code generation and usage in Haskell, with example code and a permissive MIT/Apache-2.0 license.