SharedHashFile in Rust

Hi guys!

Any way to use this without dirty trick to implement C code into rust?
https://github.com/simonhf/sharedhashfile

This lib is the fastest key-value db, about 8 times faster than Redis on real benchmark and can be used between processes;

They provide an API in C, but i'm not sure how it could be implemented in Rust?

Thank you so much.

You need to write an FFI wrapper for it (if none exists already).
Check here for a fair bit of detail: FFI - The Rustonomicon