|
| 1 | +# This file is generated by dune, edit dune-project instead |
| 2 | +opam-version: "2.0" |
| 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. |
| 9 | + |
| 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 < [email protected]>" "Anton Bachin < [email protected]>" |
| 16 | +] |
| 17 | +authors: ["Jérôme Vouillon" "Jérémie Dimino"] |
| 18 | +license: "MIT" |
| 19 | +homepage: "https://github.com/ocsigen/lwt" |
| 20 | +doc: "https://ocsigen.org/lwt" |
| 21 | +bug-reports: "https://github.com/ocsigen/lwt/issues" |
| 22 | +depends: [ |
| 23 | + "dune" {>= "3.15"} |
| 24 | + "ocaml" {>= "4.14"} |
| 25 | + "domain_shims" |
| 26 | + "cppo" {build & >= "1.1"} |
| 27 | + "ocamlfind" {dev & >= "1.7.3-1"} |
| 28 | + "odoc" {with-doc & >= "2.3"} |
| 29 | + "dune-configurator" |
| 30 | + "ocplib-endian" |
| 31 | +] |
| 32 | +depopts: ["base-threads" "base-unix" "conf-libev"] |
| 33 | +dev-repo: "git+https://github.com/ocsigen/lwt.git" |
| 34 | +build: [ |
| 35 | + ["dune" "subst"] {dev} |
| 36 | + [ |
| 37 | + "dune" |
| 38 | + "exec" |
| 39 | + "-p" |
| 40 | + name |
| 41 | + "src/unix/config/discover.exe" |
| 42 | + "--" |
| 43 | + "--save" |
| 44 | + "--use-libev" "%{conf-libev:installed}%" |
| 45 | + ] |
| 46 | + [ |
| 47 | + "dune" |
| 48 | + "build" |
| 49 | + "-p" |
| 50 | + name |
| 51 | + "-j" |
| 52 | + jobs |
| 53 | + "@install" |
| 54 | + "@runtest" {with-test} |
| 55 | + "@doc" {with-doc} |
| 56 | + ] |
| 57 | +] |
| 58 | +x-maintenance-intent:[ "(latest)" ] |
| 59 | +available: opam-version >= "2.1.0" |
| 60 | +flags: avoid-version |
| 61 | +url { |
| 62 | + src: "https://github.com/ocsigen/lwt/archive/refs/tags/6.0.0-beta00.tar.gz" |
| 63 | + checksum: [ |
| 64 | + "md5=a3242f8e3790739850d35aae9a0ed06b" |
| 65 | + "sha512=feefb156e2fae49cf9f9a14d66d812eed33349a19aa9a5abea37da60dcd97f6b9b08373ea761f1d9c243ea0d8388168c7fd329bd88cc807eb47dd9733f7092ed" |
| 66 | + ] |
| 67 | +} |
0 commit comments