dune-cargo-buildversion

Tool to invoke Cargo for building Rust crates within the dune sandbox

dune-cargo-build is a tool that runs cargo build in offline mode for a specified crate, ensuring compatibility with dune's/opam's sandboxing. It parses Cargo's JSON output to determine the produced artifacts and copies them to the current directory, renaming them to match what OCaml expects for foreign stubs. This tool is useful for integrating Rust build processes into OCaml projects managed by dune.

AuthorKonstantin Olkhovskiy <lupus@oxnull.net>
LicenseApache-2.0
Published
Homepagehttps://github.com/Lupus/rust-staticlib-gen
Issue Trackerhttps://github.com/Lupus/rust-staticlib-gen/issues
MaintainerKonstantin Olkhovskiy <lupus@oxnull.net>
Dependencies
Source [http] https://github.com/Lupus/rust-staticlib-gen/releases/download/0.2.1/rust-staticlib-gen-0.2.1.tbz
sha256=b6dc954576b9cb01c29110b3cef7ddd591eb2df031feb8cdb33d033c6b7e8d0a
sha512=f34a5d570f36329eb06e690dbc0744f13b0f427e76fe060f7a53f0420e220e32a851d2a2413546b6aff0a6cb68aca87bfa61b61513557a165d80ee47533e28b3
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/dune-cargo-build/dune-cargo-build.0.2.1/opam
Required by