Currently, we need to automatically maintain the C header files by hand. This is not so nice. Last night, I was at the Rust Meetup in Köln and I was told that https://github.com/eqrion/cbindgen could do this for us. I haven't investigated. Perhaps you can take a look @teythoon . Thanks.