package rust-staticlib-gen

  1. Overview
  2. No Docs
Utility for generating Rust static libraries for OCaml projects

Install

Dune Dependency

Authors

Maintainers

Sources

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

Description

rust-staticlib-gen is a tool designed to streamline the integration of Rust code into OCaml projects. It automates the generation of build files and orchestrates the build process, allowing OCaml code to seamlessly interface with Rust libraries. This tool extracts Rust crate dependencies from opam files, generates necessary dune and Cargo.toml files, and builds the Rust static libraries. It ensures compatibility between OCaml bindings and Rust crates by specifying exact versions in Cargo.toml.

Published: 12 Nov 2024

Dependencies (12)

  1. dune-cargo-build = version
  2. rust-staticlib-virtual = version
  3. cmdliner >= "1.3.0"
  4. fpath >= "0.7.3"
  5. opam-solver >= "2.2.1" & < "2.3"
  6. opam-state >= "2.2.1" & < "2.3"
  7. opam-client >= "2.2.1" & < "2.3"
  8. parsexp >= "v0.16.0"
  9. sexplib0 >= "v0.16.0"
  10. yojson >= "2.2.2"
  11. toml >= "7.1.0"
  12. dune >= "2.7"

Dev Dependencies (2)

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

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.