package dune-cargo-build

  1. Overview
  2. No Docs
Tool to invoke Cargo for building Rust crates within the dune sandbox

Install

Dune Dependency

Authors

Maintainers

Sources

rust-staticlib-gen-0.2.2.tbz
sha256=641c4c06b85a9b478098c5b00e36ff65445603a5cecb3e5eabfe8a8bc973b63c
sha512=d59fb760765bd28138963e8e52f373e33210f0d04f394f47a340fc6b7854a3cb5f59ec5734c94dd4e78eb01d8890b18f79f2574a6098be1190fd8bf058c8a609

Description

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.

Published: 12 Nov 2024

Dependencies (3)

  1. yojson >= "2.2.2"
  2. ocaml >= "4.13"
  3. dune >= "2.7"

Dev Dependencies (2)

  1. odoc with-doc
  2. ocamlformat with-test & >= "0.26.2" & < "0.27.0"

Used by (1)

  1. rust-staticlib-gen >= "0.2.2"

Conflicts

None

OCaml

Innovation. Community. Security.