forked from ocsigen/lwt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlwt.opam
52 lines (42 loc) · 1.29 KB
/
lwt.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
47
48
49
50
51
52
opam-version: "2.0"
synopsis: "Promises and event-driven I/O"
version: "5.6.1"
license: "MIT"
homepage: "https://github.com/ocsigen/lwt"
doc: "https://ocsigen.org/lwt"
bug-reports: "https://github.com/ocsigen/lwt/issues"
authors: [
"Jérôme Vouillon"
"Jérémie Dimino"
]
maintainer: [
"Raphaël Proust <[email protected]>"
"Anton Bachin <[email protected]>"
]
dev-repo: "git+https://github.com/ocsigen/lwt.git"
depends: [
"cppo" {build & >= "1.1.0"}
"dune" {>= "1.8.0"}
"dune-configurator"
"ocaml" {>= "4.08"}
"ocplib-endian"
# Until https://github.com/aantron/bisect_ppx/pull/327.
# "bisect_ppx" {dev & >= "2.0.0"}
"ocamlfind" {dev & >= "1.7.3-1"}
]
depopts: [
"base-threads"
"base-unix"
"conf-libev"
]
build: [
["dune" "exec" "-p" name "src/unix/config/discover.exe" "--" "--save"
"--use-libev" "%{conf-libev:installed}%"]
["dune" "build" "-p" name "-j" jobs]
]
description: "A promise is a value that may become determined in the future.
Lwt provides typed, composable promises. Promises that are resolved by I/O are
resolved by Lwt in parallel.
Meanwhile, OCaml code, including code creating and waiting on promises, runs in
a single thread by default. This reduces the need for locks or other
synchronization primitives. Code can be run in parallel on an opt-in basis."