|
| 1 | +# This file is generated by dune, edit dune-project instead |
1 | 2 | opam-version: "2.0"
|
2 |
| - |
3 | 3 | synopsis: "Promises and event-driven I/O"
|
| 4 | +description: """ |
| 5 | +A promise is a value that may become determined in the future. |
| 6 | + |
| 7 | +Lwt provides typed, composable promises. Promises that are resolved by I/O are |
| 8 | +resolved by Lwt in parallel. |
4 | 9 |
|
5 |
| -version: "5.7.0" |
| 10 | +Meanwhile, OCaml code, including code creating and waiting on promises, runs in |
| 11 | +a single thread by default. This reduces the need for locks or other |
| 12 | +synchronization primitives. Code can be run in parallel on an opt-in basis. |
| 13 | +""" |
| 14 | +maintainer: [ |
| 15 | + "Raphaël Proust <code@bnwr.net>" "Anton Bachin <antonbachin@yahoo.com>" |
| 16 | +] |
| 17 | +authors: ["Jérôme Vouillon" "Jérémie Dimino"] |
6 | 18 | license: "MIT"
|
7 | 19 | homepage: "https://github.com/ocsigen/lwt"
|
8 | 20 | doc: "https://ocsigen.org/lwt"
|
9 | 21 | bug-reports: "https://github.com/ocsigen/lwt/issues"
|
10 |
| - |
11 |
| -authors: [ |
12 |
| - "Jérôme Vouillon" |
13 |
| - "Jérémie Dimino" |
14 |
| -] |
15 |
| -maintainer: [ |
16 |
| - "Raphaël Proust <code@bnwr.net>" |
17 |
| - "Anton Bachin <antonbachin@yahoo.com>" |
18 |
| -] |
19 |
| -dev-repo: "git+https://github.com/ocsigen/lwt.git" |
20 |
| - |
21 | 22 | depends: [
|
| 23 | + "dune" {>= "1.12"} |
| 24 | + "ocaml" {>= "4.08"} |
22 | 25 | "cppo" {build & >= "1.1.0"}
|
23 |
| - "dune" {>= "1.8.0"} |
| 26 | + "ocamlfind" {dev & >= "1.7.3-1"} |
24 | 27 | "dune-configurator"
|
25 |
| - "ocaml" {>= "4.08"} |
26 | 28 | "ocplib-endian"
|
27 |
| - |
28 |
| - # Until https://github.com/aantron/bisect_ppx/pull/327. |
29 |
| - # "bisect_ppx" {dev & >= "2.0.0"} |
30 |
| - "ocamlfind" {dev & >= "1.7.3-1"} |
31 | 29 | ]
|
32 |
| - |
33 |
| -depopts: [ |
34 |
| - "base-threads" |
35 |
| - "base-unix" |
36 |
| - "conf-libev" |
37 |
| -] |
38 |
| - |
| 30 | +depopts: ["base-threads" "base-unix" "conf-libev"] |
| 31 | +dev-repo: "git+https://github.com/ocsigen/lwt.git" |
39 | 32 | build: [
|
40 |
| - ["dune" "exec" "-p" name "src/unix/config/discover.exe" "--" "--save" |
41 |
| - "--use-libev" "%{conf-libev:installed}%"] |
42 |
| - ["dune" "build" "-p" name "-j" jobs] |
| 33 | + ["dune" "subst"] {pinned} |
| 34 | + [ |
| 35 | + "dune" |
| 36 | + "exec" |
| 37 | + "-p" |
| 38 | + name |
| 39 | + "src/unix/config/discover.exe" |
| 40 | + "--" |
| 41 | + "--save" |
| 42 | + "--use-libev" "%{conf-libev:installed}%" |
| 43 | + ] |
| 44 | + [ |
| 45 | + "dune" |
| 46 | + "build" |
| 47 | + "-p" |
| 48 | + name |
| 49 | + "-j" |
| 50 | + jobs |
| 51 | + "@install" |
| 52 | + "@runtest" {with-test} |
| 53 | + "@doc" {with-doc} |
| 54 | + ] |
43 | 55 | ]
|
44 |
| - |
45 |
| -description: "A promise is a value that may become determined in the future. |
46 |
| - |
47 |
| -Lwt provides typed, composable promises. Promises that are resolved by I/O are |
48 |
| -resolved by Lwt in parallel. |
49 |
| - |
50 |
| -Meanwhile, OCaml code, including code creating and waiting on promises, runs in |
51 |
| -a single thread by default. This reduces the need for locks or other |
52 |
| -synchronization primitives. Code can be run in parallel on an opt-in basis." |
|
0 commit comments