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 (lwt
(>= "5.3")) (>= "5.3"))
(cohttp-lwt (cohttp-lwt
(>= "4.0.0")) (and
(>= "4.0.0")
(< "6")))
(alcotest :with-test)) (alcotest :with-test))
(synopsis "Opentelemetry tracing for Cohttp HTTP servers")) (synopsis "Opentelemetry tracing for Cohttp HTTP servers"))

View file

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