moonpool/dune-project
Simon Cruanes d681231d9d add support for ambient-context
optional library to provide ambient-context implem using
Moonpool.Task_local_storage
2026-04-07 21:42:52 -04:00

95 lines
1.4 KiB
Text

(lang dune 3.0)
(using mdx 0.2)
(name moonpool)
(version 0.11)
(generate_opam_files true)
(source
(github c-cube/moonpool))
(authors "Simon Cruanes")
(maintainers "Simon Cruanes")
(license MIT)
;(documentation https://url/to/documentation)
(package
(name moonpool)
(synopsis "Pools of threads supported by a pool of domains")
(depends
(ocaml
(>= 5.0))
dune
(either
(>= 1.0))
(trace
(and
(>= 0.11)
:with-test))
(trace-tef
(and
(>= 0.11)
:with-test))
(qcheck-core
(and
:with-test
(>= 0.21)))
(thread-local-storage
(and
(>= 0.2)
(< 0.3)))
(odoc :with-doc)
(hmap :with-test)
(picos
(and
(>= 0.5)
(< 0.7)))
(picos_std
(and
(>= 0.5)
(< 0.7)))
(mdx
(and
(>= 1.9.0)
:with-test)))
(depopts
hmap
(ambient-context (>= 0.2))
(trace
(>= 0.6)))
(tags
(thread pool domain futures fork-join)))
(package
(name moonpool-lwt)
(synopsis "Event loop for moonpool based on Lwt-engine (experimental)")
(allow_empty) ; on < 5.0
(depends
(moonpool
(= :version))
(ocaml
(>= 5.0))
(qcheck-core
(and
:with-test
(>= 0.21)))
(hmap :with-test)
(lwt (and (>= 5.0) (< 6.0)))
base-unix
(trace
(and
(>= 0.11)
:with-test))
(trace-tef
(and
(>= 0.11)
:with-test))
(odoc :with-doc)))
; See the complete stanza docs at https://dune.readthedocs.io/en/stable/dune-files.html#dune-project