I created a rust crate for this as well using FFI, as I'm integrating this into a larger Rust project.