This is currently just an experiment and not suggested for production use
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.
```rust
use ocaml; use ocaml::ToValue;
caml!(mlbeef, |parameter|,
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
https://docs.rs/ocaml/