Generating a C header for exported FFI functions

I see the Rust issue remain unfixed. is there a solution outside the Rust project repo itself? What's the best current solution for generating a C header file for the FFI exports of a crate?

Not sure for Rust into C but there is one for C to Rust: https://github.com/crabtw/rust-bindgen

https://github.com/Sean1708/rusty-cheddar should solve your needs.

1 Like

Thanks. This is what I was looking for!