-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrust-staticlib-gen.opam
41 lines (41 loc) · 1.57 KB
/
rust-staticlib-gen.opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "Utility for generating Rust static libraries for OCaml projects"
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."
maintainer: ["Konstantin Olkhovskiy <[email protected]>"]
authors: ["Konstantin Olkhovskiy <[email protected]>"]
license: "Apache-2.0"
homepage: "https://github.com/Lupus/rust-staticlib-gen"
bug-reports: "https://github.com/Lupus/rust-staticlib-gen/issues"
depends: [
"dune" {>= "2.7"}
"toml" {>= "7.1.0"}
"yojson" {>= "2.2.2"}
"sexplib0" {>= "v0.16.0"}
"parsexp" {>= "v0.16.0"}
"opam-client" {>= "2.2.1" & < "2.3"}
"opam-state" {>= "2.2.1" & < "2.3"}
"opam-solver" {>= "2.2.1" & < "2.3"}
"fpath" {>= "0.7.3"}
"cmdliner" {>= "1.3.0"}
"ocamlformat" {with-test & >= "0.26.2" & < "0.27.0"}
"rust-staticlib-virtual" {= version}
"dune-cargo-build" {= version}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/Lupus/rust-staticlib-gen.git"