Open
Description
Not sure this is already on your radar, but as webassembly moves forward it might be worth looking at autogenerating rust interfaces based on WebIDL specs:
https://github.com/heycam/webidl
This document contains some interesting notes about IDL + WebAssembly
https://github.com/WebAssembly/design/blob/master/GC.md
Even if the generated rust code isn't particularly idiomatic, it could take care of a lot of tedious FFI work.