add cohttp upper bound version constraint

This commit is contained in:
Corentin Leruth 2025-01-30 16:12:22 +01:00 committed by Simon Cruanes
parent 4f9247d6d0
commit 440049a681
2 changed files with 4 additions and 2 deletions

View file

@ -101,7 +101,9 @@
(lwt
(>= "5.3"))
(cohttp-lwt
(>= "4.0.0"))
(and
(>= "4.0.0")
(< "6")))
(alcotest :with-test))
(synopsis "Opentelemetry tracing for Cohttp HTTP servers"))

View file

@ -18,7 +18,7 @@ depends: [
"opentelemetry-lwt" {= version}
"odoc" {with-doc}
"lwt" {>= "5.3"}
"cohttp-lwt" {>= "4.0.0"}
"cohttp-lwt" {>= "4.0.0" & < "6"}
"alcotest" {with-test}
]
build: [