package dune-cargo-build

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

Install

Dune Dependency

Authors

Maintainers

Sources

rust-staticlib-gen-0.2.1.tbz
sha256=b6dc954576b9cb01c29110b3cef7ddd591eb2df031feb8cdb33d033c6b7e8d0a
sha512=f34a5d570f36329eb06e690dbc0744f13b0f427e76fe060f7a53f0420e220e32a851d2a2413546b6aff0a6cb68aca87bfa61b61513557a165d80ee47533e28b3

CHANGES.md.html

0.2.1 (2024-11-04)

Added

  • dune-cargo-build

    • Add support for executing arbitrary cargo sub-commands via @-prefixed command-line argument

Fixed

  • rust-staticlib-gen

    • Properly generate definition for populate-rust-staticlib alias (was missing before, causing errors in certain dune commands)

0.2.0 (2024-10-16)

Added

  • rust-staticlib-gen

    • Ensure we generate code for compatible versions of libs/tools

  • dune-cargo-build

    • Emit debug output and exit with error when no artifacts are copied

    • Add -help option and detailed usage

    • Pass --offline to cargo only if network is unavailable (checks crates.io:443)

    • Add support for manifest path along with crate name to specify what to build

    • Add support for passing arbitrary flags to cargo after "--"

    • Add --profile flag to select release/debug build for cargo (compatible with dune profile naming)

Fixed

  • rust-staticlib-gen

    • Fix opam lib initialization (was not working in CI)

0.1.0 (2024-10-11)

  • Initial release

OCaml

Innovation. Community. Security.