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.
Author | Konstantin Olkhovskiy <lupus@oxnull.net> |
---|---|
License | Apache-2.0 |
Published | |
Homepage | https://github.com/Lupus/rust-staticlib-gen |
Issue Tracker | https://github.com/Lupus/rust-staticlib-gen/issues |
Maintainer | Konstantin 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 |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/dune-cargo-build/dune-cargo-build.0.2.1/opam |
Required by
- rust-staticlib-gen=0.2.1