hsrs
github.com · Open source · Maintained
Generator for type-safe Haskell bindings from Rust code
- Developer tools
- Open source
- Rust
- Day-7 check
- Day-30 check
- Stars
- 86
- Forks
- 2
- Open issues
- 1
- Last commit
- Found
- 6 months ago
GitHub figures as of . They are context, not a ranking.
hsrs is a Rust project that generates type-safe Haskell bindings from Rust code, with support for rich types such as Result and Maybe. Its design is similar to pyo3 and napi-rs, so it suits Rust developers who want to expose their code to Haskell.
Positioned as an alternative to pyo3, napi-rs.
Repository description on GitHub: “Type-safe Haskell Rust Bindings”
What it does
- Generates type-safe Haskell bindings from annotated Rust code
- Supports rich types such as Result and Maybe
- Handles memory management, serialization and type conversions
- Attribute macros for modules, functions, values and data types
Good for
- Expose a Rust library to Haskell through generated FFI bindings
- Annotate Rust types and functions to produce Haskell modules
- Call Rust code from Haskell without hand-written glue
Suits: Rust developers exposing code to Haskell programs.
What you can try
Read the README on GitHub and install from source.
Install
cargo add hsrsConfirmed against the package registry. Read the project’s own instructions before running anything.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw hsrs on , when suis_siva posted it to Show HN. GitHub listed no published releases for harmont-dev/hsrs when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 53 points, 9 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 53 points, 9 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: harmont-dev/hsrs
- Found: suis_siva posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was hsrs released?
- No dated release record is available. Kip found it on Show HN on 19 May 2026.
- Is hsrs open source?
- Its source is public on GitHub at harmont-dev/hsrs; check the repository for licence terms.
- What does hsrs run on?
- Library.
- Is hsrs free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is hsrs still maintained?
- It had a commit or release in the last year, though not in the last 90 days, as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | harmont-dev/hsrs REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-48189044. Summary written by KipFound’s editor.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.