This Rust library provides a FFI bindings to the mochi-margo library.
This crate requires margo (see instructions here) and clang (see instructions here). Margo must be loaded (this crate uses pkg-config to locate its library and headers).
For example, on Debian and with Spack, the following can be used.
$ spack install mochi-margo
$ spack load mochi-margo
$ sudo apt install llvm-dev libclang-dev clang
$ git clone https://github.com/mochi-hpc/mochi-rs-margo-sys.git
$ cd mochi-rs-margo-sys
$ cargo build