How-to: Writing a C shared library in rust
The ability to write a C shared library in rust has been around for some time and there is quite a bit of information about the subject available. Some examples:
Exposing C and Rust APIs: some thoughts from librsvg Creating C/C++ APIs in Rust Rust Out Your C by Carol (Nichols || Goulding) (youtube video) Exporting a GObject C API from Rust code and using it from C, Python, JavaScript and others Rust Once, Run Everywhere All this information is great, but what I was looking for was a simple step-by-step example which also discussed memory handling and didn’t delve into the use of GObjects.