compatibility with lwt 6

This commit is contained in:
Raphaël Proust 2026-03-13 14:40:47 +01:00
parent 2c52df1fae
commit 8438a46be5
7 changed files with 18 additions and 16 deletions

View file

@ -54,7 +54,8 @@
(depopts atomic trace thread-local-storage lwt eio picos)
(conflicts
(trace
(< 0.12)))
(< 0.12))
(lwt (< 6)))
(tags
(instrumentation tracing opentelemetry datadog jaeger)))
@ -85,9 +86,9 @@
(cohttp-lwt-unix :with-test)
(odoc :with-doc)
(lwt
(>= "5.3"))
(>= "6"))
(lwt_ppx
(>= "2.0"))
(>= "6"))
(alcotest :with-test))
(tags
(instrumentation tracing opentelemetry datadog lwt)))
@ -128,9 +129,9 @@
(>= 0.2.3))
ocurl
(lwt
(>= "5.3"))
(>= "6"))
(lwt_ppx
(>= "2.0"))
(>= "6"))
(alcotest :with-test))
(synopsis "Collector client for opentelemetry, using ezcurl-lwt"))
@ -169,7 +170,7 @@
ambient-context-lwt
(odoc :with-doc)
(lwt
(>= "5.3"))
(>= "6"))
(cohttp
(>= "6.0.0"))
(cohttp-lwt
@ -194,9 +195,9 @@
ambient-context-lwt
(odoc :with-doc)
(lwt
(>= "5.3"))
(>= "6"))
(lwt_ppx
(>= "2.0"))
(>= "6"))
cohttp-lwt
cohttp-lwt-unix
(alcotest :with-test)

View file

@ -20,8 +20,8 @@ depends: [
"opentelemetry-lwt" {= version}
"ambient-context-lwt"
"odoc" {with-doc}
"lwt" {>= "5.3"}
"lwt_ppx" {>= "2.0"}
"lwt" {>= "6"}
"lwt_ppx" {>= "6"}
"cohttp-lwt"
"cohttp-lwt-unix"
"alcotest" {with-test}

View file

@ -20,8 +20,8 @@ depends: [
"odoc" {with-doc}
"ezcurl-lwt" {>= "0.2.3"}
"ocurl"
"lwt" {>= "5.3"}
"lwt_ppx" {>= "2.0"}
"lwt" {>= "6"}
"lwt_ppx" {>= "6"}
"alcotest" {with-test}
]
build: [

View file

@ -18,7 +18,7 @@ depends: [
"opentelemetry-lwt" {= version}
"ambient-context-lwt"
"odoc" {with-doc}
"lwt" {>= "5.3"}
"lwt" {>= "6"}
"cohttp" {>= "6.0.0"}
"cohttp-lwt" {>= "6.0.0"}
"alcotest" {with-test}

View file

@ -19,8 +19,8 @@ depends: [
"ambient-context-lwt"
"cohttp-lwt-unix" {with-test}
"odoc" {with-doc}
"lwt" {>= "5.3"}
"lwt_ppx" {>= "2.0"}
"lwt" {>= "6"}
"lwt_ppx" {>= "6"}
"alcotest" {with-test}
]
build: [

View file

@ -31,6 +31,7 @@ depends: [
depopts: ["atomic" "trace" "thread-local-storage" "lwt" "eio" "picos"]
conflicts: [
"trace" {< "0.12"}
"lwt" {< "6"}
]
build: [
["dune" "subst"] {dev}

View file

@ -5,7 +5,7 @@ module IO = Io_lwt
type t = {
notified: bool Atomic.t;
cond: unit Lwt_condition.t;
notification: int;
notification: Lwt_unix.notification;
lwt_tid: int; (** thread ID where lwt runs *)
deleted: bool Atomic.t;
}