ocaml-build
ocaml-build is used to generate an OCaml file containing signatures from Rust code
For example, if you have this function (annotated with the #[ocaml::sig(...)] macro:
And the following build script:
The following code will be generated in src/rust.ml:
And a matching mli file will be created.