this repo has no description
1opam-version: "2.0"
2
3synopsis: "Promises and event-driven I/O"
4
5license: "MIT"
6homepage: "https://github.com/ocsigen/lwt"
7doc: "https://ocsigen.org/lwt"
8bug-reports: "https://github.com/ocsigen/lwt/issues"
9
10authors: [
11 "Jérôme Vouillon"
12 "Jérémie Dimino"
13]
14maintainer: [
15 "Anton Bachin <antonbachin@yahoo.com>"
16]
17dev-repo: "git+https://github.com/ocsigen/lwt.git"
18
19depends: [
20 "cppo" {build & >= "1.1.0"}
21 "dune" {>= "1.7.0"}
22 "dune-configurator"
23 "mmap" {>= "1.1.0"} # mmap is needed as long as Lwt supports OCaml < 4.06.0.
24 "ocaml" {>= "4.02.0" & < "4.12"}
25 "ocplib-endian"
26 "result" # result is needed as long as Lwt supports OCaml 4.02.
27 "seq" # seq is needed as long as Lwt supports OCaml < 4.07.0.
28
29 "bisect_ppx" {dev & >= "1.3.0"}
30 "ocamlfind" {dev & >= "1.7.3-1"}
31]
32
33depopts: [
34 "base-threads"
35 "base-unix"
36 "conf-libev"
37]
38
39conflicts: [
40 "ocaml-variants" {= "4.02.1+BER"}
41]
42
43build: [
44 ["dune" "exec" "-p" name "src/unix/config/discover.exe" "--" "--save"
45 "--use-libev" "%{conf-libev:installed}%"]
46 ["dune" "build" "-p" name "-j" jobs]
47]
48
49description: "A promise is a value that may become determined in the future.
50
51Lwt provides typed, composable promises. Promises that are resolved by I/O are
52resolved by Lwt in parallel.
53
54Meanwhile, OCaml code, including code creating and waiting on promises, runs in
55a single thread by default. This reduces the need for locks or other
56synchronization primitives. Code can be run in parallel on an opt-in basis."
57
58url {
59 src: "https://github.com/ocsigen/lwt/archive/5.1.2.tar.gz"
60 checksum: [
61 "sha256=b9fcd49ef391c9848c15818a50488652bd07da2b28a401d7a96558d6db13e3f8"
62 "md5=dc4005582a6ab32227f5ff90cb480dbe"
63 ]
64}