···
3
+
synopsis: "Promises and event-driven I/O"
5
+
homepage: "https://github.com/ocsigen/lwt"
6
+
doc: "https://ocsigen.org/lwt"
7
+
bug-reports: "https://github.com/ocsigen/lwt/issues"
14
+
"Raphaël Proust <code@bnwr.net>"
15
+
"Anton Bachin <antonbachin@yahoo.com>"
17
+
dev-repo: "git+https://github.com/ocsigen/lwt.git"
20
+
"cppo" {build & >= "1.1.0"}
26
+
# Until https://github.com/aantron/bisect_ppx/pull/327.
27
+
# "bisect_ppx" {dev & >= "2.0.0"}
28
+
"ocamlfind" {dev & >= "1.7.3-1"}
38
+
["dune" "exec" "-p" name "src/unix/config/discover.exe" "--" "--save"
39
+
"--use-libev" "%{conf-libev:installed}%"]
40
+
["dune" "build" "-p" name "-j" jobs]
43
+
description: "A promise is a value that may become determined in the future.
45
+
Lwt provides typed, composable promises. Promises that are resolved by I/O are
46
+
resolved by Lwt in parallel.
48
+
Meanwhile, OCaml code, including code creating and waiting on promises, runs in
49
+
a single thread by default. This reduces the need for locks or other
50
+
synchronization primitives. Code can be run in parallel on an opt-in basis."
52
+
src: "https://github.com/ocsigen/lwt/archive/refs/tags/5.7.0.tar.gz"
54
+
"md5=737039d29d45b2d2b35db6931c8d75c6"
55
+
"sha512=42e629920783428673b99c9d7a639237c9e6b35079b5d907bc67e7ea506acf9edadc48cec580bdcfd2410ed9412bf5e6bcc8b09de2fa7d35ce1490973d05ddd1"