{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreihucxheyveqohvsgudgmrpfkia7o374tfiqzw2xyacdgp73bsdnli",
    "uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mm7gmck6na42"
  },
  "path": "/t/ann-hsrs-ergonomic-haskell-bindings-for-rust/14129#post_4",
  "publishedAt": "2026-05-19T11:28:18.000Z",
  "site": "https://discourse.haskell.org",
  "textContent": "I’ll keep an eye on this. I spent a while researching the alternative options for Haskell-Rust FFI a few months ago, and settled on using Mozilla’s `cbindgen` to create a header file, then passing that to Well-Typed’s new `hs-bindgen` tool.\n\nI should really publish a writeup and demo project for that. Although it’d be nice if I could get it properly integrated with Cabal Hooks first.",
  "title": "[ANN] hsrs -- Ergonomic Haskell Bindings for Rust"
}