ocaml-trace/trace.opam
Simon Cruanes 42bf837113
add Trace_lwt optional library (#47)
* add Trace_lwt optional library

provides a with_span that's lwt friendly, as well as a ambient span
provider.

* test: extract recorder used for ambient tests

* tests for trace.lwt

* opam
2026-04-14 14:10:32 -04:00

41 lines
1.1 KiB
Text

# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.12"
synopsis:
"A lightweight stub for tracing/observability, agnostic in how data is collected"
description:
"ocaml-trace can be used to instrument libraries and programs with low overhead. It doesn't do any IO unless a collector is plugged in, which only the final executable should do."
maintainer: ["Simon Cruanes"]
authors: ["Simon Cruanes"]
license: "MIT"
tags: ["trace" "tracing" "observability" "profiling"]
homepage: "https://github.com/ocaml-tracing/ocaml-trace"
bug-reports: "https://github.com/ocaml-tracing/ocaml-trace/issues"
depends: [
"ocaml" {>= "4.08"}
"dune" {>= "2.9"}
"odoc" {with-doc}
]
depopts: [
"unix"
"lwt"
"thread-local-storage" {>= "0.2"}
"mtime" {>= "2.0"}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"--promote-install-files=false"
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
["dune" "install" "-p" name "--create-install-files" name]
]
dev-repo: "git+https://github.com/ocaml-tracing/ocaml-trace.git"