Creating a C API for a Rust library


I wrote up an experience report for my first attempt to create a C API for a new Rust library:

String FFI ended up being the piece that gave me the most troubles, but that was mostly because the library supports stable, beta and nightly versions of Rust, and CString and CStr have been quite unstable across those versions. I am pleased with my results, regardless!