25
UniFFI - automatically generate foreign-language bindings targeting Rust libraries
(mozilla.github.io)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
Here's the script. It's nothing fancy, and iirc it only works for top level functions/classes. That means you still have to take care of attributes and methods which is a little annoying, but for simple stuff it should save a bit of time.