ocaml-trace/dune-project
2023-12-26 21:27:31 -05:00

60 lines
1.3 KiB
Text

(lang dune 2.9)
(name trace)
(generate_opam_files true)
(version 0.5)
(source
(github c-cube/ocaml-trace))
(authors "Simon Cruanes")
(maintainers "Simon Cruanes")
(license MIT)
;(documentation https://url/to/documentation)
(package
(name trace)
(synopsis "A stub for tracing/observability, agnostic in how data is collected")
(depends
(ocaml (>= 4.08))
dune)
(tags
(trace tracing observability profiling)))
(package
(name ppx_trace)
(synopsis "ppx-based instrumentation for trace")
(depends
(ocaml (>= 4.12)) ; we use __FUNCTION__
ppxlib
(trace (= :version))
(trace-tef (and (= :version) :with-test))
dune)
(tags
(trace tracing observability profiling ppx)))
(package
(name trace-tef)
(synopsis "A simple backend for trace, emitting Catapult/TEF JSON into a file")
(depends
(ocaml (>= 4.08))
(trace (= :version))
(mtime (>= 2.0))
base-unix
dune)
(tags
(trace tracing catapult)))
(package
(name trace-fuchsia)
(synopsis "A high-performance backend for trace, emitting a Fuchsia trace into a file")
(depends
(ocaml (>= 4.08))
(trace (= :version))
(mtime (>= 2.0))
base-unix
dune)
(tags
(trace tracing fuchsia)))
; See the complete stanza docs at https://dune.readthedocs.io/en/stable/dune-files.html#dune-project