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.1.0/rust-staticlib-gen-0.1.0.tbz
sha256=b50bbb1de95492febe98f4f552339442816b3fb0728f8f129851584af452d13e
sha512=c02e417506b7f42c22a772d2528fe7aecc7c1165eae66376b5dc01f67eaf63cbb9c8bae62d4eb40a1d542af705ea0fa488b6f9b4aff1b8f8b4fafad0b698688e
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/dune-cargo-build/dune-cargo-build.0.1.0/opam
No package is dependent