ocaml-rs - OCaml extensions in Rust
ocaml-rs
allows for OCaml extensions to be written directly in Rust with no C stubs. It was forked from raml with the goal of creating a safer, high-level interface.
use ocaml;
use ToValue;
caml!;
This will take care of all the OCaml garbage collector related bookkeeping (CAMLparam, CAMLlocal and CAMLreturn)
For a working example see ./examples/rust
and ./examples/ocaml