Docs for basic usage
Is it possible to have some simple basic examples which show a cargo project and a dune project working together
I think it is possible
May some way possible
it is possible to get builds going with ocamlrep, dune & cargo. see errpy for example which utilizes ocamlrep. errpy is available in opam and is integrated into pyre-check
i would advocate for the use of buck2 though. one can use reindeer for the rust dependencies and ocaml-scripts for the opam dependencies. there are some ocaml examples (including rust embedding) in the buck2 repo (sadly not involving ocamlrep though). ocamlrep itself builds with buck2 and reindeer in addition to cargo.
Hopefully https://github.com/facebook/ocamlrep/issues/45#issuecomment-1971799618 helps. There hasn't been action here for a while, so closing. Sorry there aren't more docs–I don't think this project is under active dev.