forked from ocaml-multicore/eio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dune-project
77 lines (77 loc) · 2.36 KB
/
dune-project
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
(lang dune 3.7)
(name eio)
(formatting disabled)
(generate_opam_files true)
(source (github ocaml-multicore/eio))
(license ISC)
(authors "Anil Madhavapeddy" "Thomas Leonard")
(maintainers "[email protected]")
(documentation "https://ocaml-multicore.github.io/eio/")
(package
(name eio)
(synopsis "Effect-based direct-style IO API for OCaml")
(description "An effect-based IO API for multicore OCaml with fibers.")
(conflicts
(ocaml-base-compiler (< 5.0.0~beta1))
(ocaml-variants (< 5.0.0~beta1))
(ocaml-system (< 5.0.0~beta1))
(seq (< 0.3)))
(depends
(ocaml (>= 5.0.0))
(bigstringaf (>= 0.9.0))
(cstruct (>= 6.0.1))
lwt-dllist
(optint (>= 0.1.0))
(psq (>= 0.2.0))
(fmt (>= 0.8.9))
(hmap (>= 0.8.1))
(domain-local-await (>= 0.1.0))
(crowbar (and (>= 0.2) :with-test))
(mtime (>= 2.0.0))
(mdx (and (>= 2.2.0) :with-test))
(alcotest (and (>= 1.4.0) :with-test))
(dscheck (and (>= 0.1.0) :with-test))))
(package
(name eio_linux)
(synopsis "Eio implementation for Linux using io-uring")
(description "An Eio implementation for Linux using io-uring.")
(allow_empty) ; Work-around for dune bug #6938
(depends
(alcotest (and (>= 1.4.0) :with-test))
(eio (= :version))
(mdx (and (>= 2.2.0) :with-test))
(logs (>= 0.7.0))
(fmt (>= 0.8.9))
(cmdliner (and (>= 1.1.0) :with-test))
(uring (>= 0.5))))
(package
(name eio_posix)
(allow_empty) ; Work-around for dune bug #6938
(synopsis "Eio implementation for POSIX systems")
(description "An Eio implementation for most Unix-like platforms")
(depends
(eio (= :version))
(iomux (>= 0.2))
(mdx (and (>= 2.2.0) :with-test))
(fmt (>= 0.8.9))))
(package
(name eio_windows)
(synopsis "Eio implementation for Windows")
(description "An Eio implementation using OCaml's Unix.select")
(allow_empty) ; Work-around for dune bug #6938
(depends
(eio (= :version))
(kcas (and (>= 0.3.0) :with-test))
(alcotest (and (>= 1.4.0) :with-test))))
(package
(name eio_main)
(synopsis "Effect-based direct-style IO mainloop for OCaml")
(description "Selects an appropriate Eio backend for the current platform.")
(depends
(mdx (and (>= 2.2.0) :with-test))
(kcas (and (>= 0.3.0) :with-test))
(yojson (and (>= 2.0.2) :with-test))
(eio_linux (and (= :version) (= :os "linux")))
(eio_posix (and (= :version) (<> :os-family "windows")))
(eio_windows (and (= :version) (= :os-family "windows")))))
(using mdx 0.2)