eio/dune-project
Thomas Leonard 879d94e55b Add eio_main library to select backend
This allows writing portable applications without depending on a
specific backend such as Eunix.
2021-05-25 11:27:36 +01:00

59 lines
1.5 KiB
Plaintext

(lang dune 2.8)
(name eunix)
(generate_opam_files true)
(source (github ocaml-multicore/eio))
(license ISC)
(authors "Anil Madhavapeddy" "Thomas Leonard")
(maintainers "anil@recoil.org")
(package
(name eio)
(synopsis "Effect-based direct-style IO API for OCaml")
(description
"An effect-based IO API for multicore OCaml with fibres.")
(depends
(ctf (= :version))
(alcotest (and (>= 1.4.0) :with-test))))
(package
(name eunix)
(synopsis "Eio implementation for Linux using io-uring")
(description
"An eio implementation for Linux using io-uring.")
(depends
(ocaml-variants (= "4.12.0+domains+effects"))
(ctf (= :version))
(fibreslib (= :version))
(eio (= :version))
(alcotest (and (>= 1.4.0) :with-test))
(mdx :with-test)
(logs (>= 0.7.0))
(fmt (>= 0.8.9))
(bigstringaf (>= 0.7.0))
uring
(bheap (>= 2.0.0))))
(package
(name fibreslib)
(synopsis "Effect-based synchronisation primitives")
(description "An effect-based API for promises and other synchronisation primitives.")
(depends
(ctf (= :version))
lwt-dllist
(alcotest (and (>= 1.4.0) :with-test))))
(package
(name ctf)
(synopsis "CTF tracing")
(description "Trace IO events.")
(depends
(alcotest (and (>= 1.4.0) :with-test))
(ppx_cstruct (>= 6.0.0))
(ocplib-endian (>= 1.1))
(mtime (>= 1.2.0))
(cstruct (>= 6.0.0))))
(package
(name eio_main)
(synopsis "Effect-based direct-style IO mainloop for OCaml")
(description
"Selects an appropriate Eio backend for the current platform.")
(depends
(eunix (= :version))))
(using mdx 0.1)