mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-06 03:05:30 -05:00
one can now give tasks an optional string "name". If `Trace` is present (installed) and enabled, this results in a span around the task's execution. This also plays ok with `await` and other effect-based primitives.
37 lines
786 B
Text
37 lines
786 B
Text
(lang dune 3.0)
|
|
(using mdx 0.2)
|
|
|
|
(name moonpool)
|
|
(version 0.5.1)
|
|
(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 (>= 4.08))
|
|
dune
|
|
(either (>= 1.0))
|
|
(trace :with-test)
|
|
(trace-tef :with-test)
|
|
(qcheck-core (and :with-test (>= 0.19)))
|
|
(odoc :with-doc)
|
|
(mdx
|
|
(and
|
|
(>= 1.9.0)
|
|
:with-test)))
|
|
(depopts
|
|
(trace (>= 0.6))
|
|
thread-local-storage
|
|
(domain-local-await (>= 0.2)))
|
|
(tags
|
|
(thread pool domain futures fork-join)))
|
|
|
|
; See the complete stanza docs at https://dune.readthedocs.io/en/stable/dune-files.html#dune-project
|