diff --git a/dune-project b/dune-project index 3c109c58..f431941f 100644 --- a/dune-project +++ b/dune-project @@ -79,12 +79,9 @@ (>= "4.08")) (opentelemetry (= :version)) - (cohttp-lwt-unix :with-test) + (cohttp-eio :with-test) (odoc :with-doc) - (lwt - (>= "5.3")) - (lwt_ppx - (>= "2.0")) + eio (alcotest :with-test)) (tags (instrumentation tracing opentelemetry datadog lwt))) @@ -176,11 +173,7 @@ (opentelemetry (= :version)) (odoc :with-doc) - (lwt - (>= "5.3")) - (lwt_ppx - (>= "2.0")) - cohttp-lwt - cohttp-lwt-unix + cohttp-eio + eio_main (alcotest :with-test)) (synopsis "Collector client for opentelemetry, using cohttp + eio")) diff --git a/opentelemetry-client-cohttp-eio.opam b/opentelemetry-client-cohttp-eio.opam index 4c24be3d..7bf13158 100644 --- a/opentelemetry-client-cohttp-eio.opam +++ b/opentelemetry-client-cohttp-eio.opam @@ -17,10 +17,8 @@ depends: [ "mtime" {>= "1.4"} "opentelemetry" {= version} "odoc" {with-doc} - "lwt" {>= "5.3"} - "lwt_ppx" {>= "2.0"} - "cohttp-lwt" - "cohttp-lwt-unix" + "cohttp-eio" + "eio_main" "alcotest" {with-test} ] build: [ diff --git a/opentelemetry-eio.opam b/opentelemetry-eio.opam index f0986993..7c95fece 100644 --- a/opentelemetry-eio.opam +++ b/opentelemetry-eio.opam @@ -16,10 +16,9 @@ depends: [ "dune" {>= "2.9"} "ocaml" {>= "4.08"} "opentelemetry" {= version} - "cohttp-lwt-unix" {with-test} + "cohttp-eio" {with-test} "odoc" {with-doc} - "lwt" {>= "5.3"} - "lwt_ppx" {>= "2.0"} + "eio" "alcotest" {with-test} ] build: [ diff --git a/src/client-cohttp-eio/dune b/src/client-cohttp-eio/dune index d9369c20..d3a94901 100644 --- a/src/client-cohttp-eio/dune +++ b/src/client-cohttp-eio/dune @@ -2,13 +2,11 @@ (name opentelemetry_client_cohttp_eio) (public_name opentelemetry-client-cohttp-eio) (synopsis "Opentelemetry collector using cohttp+eio+unix") - (preprocess - (pps lwt_ppx)) (libraries opentelemetry - lwt - cohttp-lwt - cohttp-lwt-unix + eio + cohttp-eio + eio_main pbrt mtime mtime.clock.os))