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.2/rust-staticlib-gen-0.2.2.tbz sha256=641c4c06b85a9b478098c5b00e36ff65445603a5cecb3e5eabfe8a8bc973b63c sha512=d59fb760765bd28138963e8e52f373e33210f0d04f394f47a340fc6b7854a3cb5f59ec5734c94dd4e78eb01d8890b18f79f2574a6098be1190fd8bf058c8a609 |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/dune-cargo-build/dune-cargo-build.0.2.2/opam |
Required by
- rust-staticlib-gen>=0.2.2