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.0/rust-staticlib-gen-0.2.0.tbz
sha256=02d3bb345f83237df6bf68ffd32a277b4afc82cb90eedffb377b16e6ad42ab39
sha512=9c7df3da32085bfb7751e727148df8b81985d601ff1ede10e6685be3625d96e377e1fa1a5214361f6e857f2c1ffa45222d84bd603f1b90f4a7f593aea46a4101
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/dune-cargo-build/dune-cargo-build.0.2.0/opam
Required by