-
Notifications
You must be signed in to change notification settings - Fork 0
/
rust-async.opam
46 lines (46 loc) · 1.57 KB
/
rust-async.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
42
43
44
45
46
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "Interop between OCaml Lwt and Rust async"
maintainer: ["Konstantin Olkhovskiy <lupus@oxnull.net>"]
authors: ["The OCaml Lwt Interop contributors"]
license: "Apache License 2.0"
homepage: "https://github.com/Lupus/ocaml-lwt-interop"
bug-reports: "https://github.com/Lupus/ocaml-lwt-interop/issues"
depends: [
"ocaml" {< "5.0.0"}
"dune" {>= "3.7"}
"conf-rust-2021"
"rust-staticlib-gen" {>= "0.2.0" & with-test}
"rust-staticlib-virtual" {>= "0.2.0"}
"dune-cargo-build" {>= "0.2.0" & build}
"ocaml-rs-smartptr" {>= "0.1.0"}
"lwt" {>= "5.6.0" & < "5.7.0"}
"lwt_ppx" {>= "2.1.0" & < "2.2.0"}
"ocamlformat" {with-test & >= "0.25.1" & < "0.26.0"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
# This extensions connects this opam package to its corresponding Rust stubs
# crate. An automated tool could traverse opam dependencies, find ones
# containing such extension fields and combine a full set of Rust crate
# dependencies for a given opam file.
x-rust-stubs-crate: "ocaml-lwt-interop"
pin-depends: [
["ocaml-rs-smartptr.0.1.0" "git+https://github.com/Lupus/ocaml-rs-smartptr.git"]
["rust-staticlib-gen.0.2.2" "git+https://github.com/Lupus/rust-staticlib-gen.git#0.2.2"]
["rust-staticlib-virtual.0.2.2" "git+https://github.com/Lupus/rust-staticlib-gen.git#0.2.2"]
["dune-cargo-build.0.2.2" "git+https://github.com/Lupus/rust-staticlib-gen.git#0.2.2"]
]