From 8184c5208605fc1d18ec0decb2d291b0f3dfb006 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Fri, 21 Nov 2025 22:21:37 -0500 Subject: [PATCH] chore: opam file --- dune-project | 19 +++++++++++++++++++ trace-usdt.opam | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 trace-usdt.opam diff --git a/dune-project b/dune-project index 78ee148..690a9cd 100644 --- a/dune-project +++ b/dune-project @@ -94,4 +94,23 @@ (tags (trace tracing fuchsia))) +(package + (name trace-usdt) + (synopsis "A trace backend using USDT probes, activated at runtime") + (depends + (ocaml + (>= 4.08)) + (trace + (= :version)) + (mtime + (>= 2.0)) + ocaml_usdt + (yojson + (and + (>= 2.0) + (< 3.0))) + dune) + (tags + (trace tracing usdt))) + ; See the complete stanza docs at https://dune.readthedocs.io/en/stable/dune-files.html#dune-project diff --git a/trace-usdt.opam b/trace-usdt.opam new file mode 100644 index 0000000..658597c --- /dev/null +++ b/trace-usdt.opam @@ -0,0 +1,36 @@ +# This file is generated by dune, edit dune-project instead +opam-version: "2.0" +version: "0.10" +synopsis: "A trace backend using USDT probes, activated at runtime" +maintainer: ["Simon Cruanes"] +authors: ["Simon Cruanes"] +license: "MIT" +tags: ["trace" "tracing" "usdt"] +homepage: "https://github.com/c-cube/ocaml-trace" +bug-reports: "https://github.com/c-cube/ocaml-trace/issues" +depends: [ + "ocaml" {>= "4.08"} + "trace" {= version} + "mtime" {>= "2.0"} + "ocaml_usdt" + "yojson" {>= "2.0" & < "3.0"} + "dune" {>= "2.9"} + "odoc" {with-doc} +] +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/c-cube/ocaml-trace.git"