mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
Fix deps
Some deps where not needed. Some packages did not declare all their needed package deps.
This commit is contained in:
parent
ecd6ed0b73
commit
df56be2a13
7 changed files with 25 additions and 9 deletions
21
dune-project
21
dune-project
|
|
@ -44,7 +44,9 @@
|
|||
(and
|
||||
:with-dev-setup
|
||||
(>= 0.27)
|
||||
(< 0.28))))
|
||||
(< 0.28)))
|
||||
(mtime
|
||||
(>= "1.4")))
|
||||
(depopts trace lwt eio)
|
||||
(conflicts
|
||||
(trace
|
||||
|
|
@ -98,7 +100,13 @@
|
|||
(odoc :with-doc)
|
||||
(logs
|
||||
(>= "0.7.0"))
|
||||
(alcotest :with-test))
|
||||
(alcotest :with-test)
|
||||
(containers :with-test)
|
||||
(cohttp-lwt-unix :with-test)
|
||||
(opentelemetry-client-cohttp-lwt
|
||||
(and :with-test (= :version)))
|
||||
(opentelemetry-cohttp-lwt
|
||||
(and :with-test (= :version))))
|
||||
(synopsis "Opentelemetry tracing for Cohttp HTTP servers"))
|
||||
|
||||
(package
|
||||
|
|
@ -136,7 +144,8 @@
|
|||
cohttp-lwt
|
||||
cohttp-lwt-unix
|
||||
(alcotest :with-test)
|
||||
(containers :with-test))
|
||||
(containers :with-test)
|
||||
(opentelemetry-lwt (and :with-test (= :version))))
|
||||
(synopsis "Collector client for opentelemetry, using cohttp + lwt"))
|
||||
|
||||
(package
|
||||
|
|
@ -154,7 +163,9 @@
|
|||
(cohttp-eio
|
||||
(>= 6.1.0))
|
||||
(eio_main :with-test)
|
||||
tls-eio
|
||||
(tls-eio
|
||||
(>= 2.0.1))
|
||||
(alcotest :with-test)
|
||||
(containers :with-test))
|
||||
(containers :with-test)
|
||||
(cohttp-lwt-unix :with-test))
|
||||
(synopsis "Collector client for opentelemetry, using cohttp + eio"))
|
||||
|
|
|
|||
|
|
@ -21,9 +21,10 @@ depends: [
|
|||
"odoc" {with-doc}
|
||||
"cohttp-eio" {>= "6.1.0"}
|
||||
"eio_main" {with-test}
|
||||
"tls-eio"
|
||||
"tls-eio" {>= "2.0.1"}
|
||||
"alcotest" {with-test}
|
||||
"containers" {with-test}
|
||||
"cohttp-lwt-unix" {with-test}
|
||||
]
|
||||
build: [
|
||||
["dune" "subst"] {dev}
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ depends: [
|
|||
"cohttp-lwt-unix"
|
||||
"alcotest" {with-test}
|
||||
"containers" {with-test}
|
||||
"opentelemetry-lwt" {with-test & = version}
|
||||
]
|
||||
build: [
|
||||
["dune" "subst"] {dev}
|
||||
|
|
|
|||
|
|
@ -18,6 +18,10 @@ depends: [
|
|||
"odoc" {with-doc}
|
||||
"logs" {>= "0.7.0"}
|
||||
"alcotest" {with-test}
|
||||
"containers" {with-test}
|
||||
"cohttp-lwt-unix" {with-test}
|
||||
"opentelemetry-client-cohttp-lwt" {with-test & = version}
|
||||
"opentelemetry-cohttp-lwt" {with-test & = version}
|
||||
]
|
||||
build: [
|
||||
["dune" "subst"] {dev}
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ depends: [
|
|||
"pbrt" {>= "3.0" & < "4.0"}
|
||||
"ocaml-lsp-server" {with-dev-setup}
|
||||
"ocamlformat" {with-dev-setup & >= "0.27" & < "0.28"}
|
||||
"mtime" {>= "1.4"}
|
||||
]
|
||||
depopts: ["trace" "lwt" "eio"]
|
||||
conflicts: [
|
||||
|
|
|
|||
|
|
@ -23,8 +23,6 @@
|
|||
(executable
|
||||
(name emit1_eio)
|
||||
(modules emit1_eio)
|
||||
(preprocess
|
||||
(pps lwt_ppx))
|
||||
(enabled_if
|
||||
(>= %{ocaml_version} 5.0))
|
||||
(libraries
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
(package opentelemetry-client-cohttp-lwt)
|
||||
(enabled_if
|
||||
(>= %{ocaml_version} 5.0))
|
||||
(deps %{bin:emit1_cohttp} %{bin:emit1_eio})
|
||||
(deps %{bin:emit1_cohttp})
|
||||
(libraries clients_e2e_lib alcotest opentelemetry opentelemetry.client))
|
||||
|
||||
(tests
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue