https://github.com/getditto/safer_ffi
Write safer FFI code in Rust without polluting it with unsafe code