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:

#3 should solve your needs.


Thanks. This is what I was looking for!