diff --git a/dune-project b/dune-project index 665cdaf..0b66dee 100644 --- a/dune-project +++ b/dune-project @@ -1,3 +1,3 @@ -(lang dune 2.0) +(lang dune 2.3) (name prometheus) (formatting disabled) diff --git a/examples/dune b/examples/dune index 6fd7b91..dffb682 100644 --- a/examples/dune +++ b/examples/dune @@ -1,3 +1,4 @@ (executable (name example) + (enabled_if (>= %{ocaml_version} 4.08)) ; Work-around for dune bug #5621 (libraries prometheus prometheus-app.unix cmdliner cohttp-lwt cohttp-lwt-unix)) diff --git a/prometheus-app.opam b/prometheus-app.opam index cfc073d..998f685 100644 --- a/prometheus-app.opam +++ b/prometheus-app.opam @@ -26,7 +26,7 @@ doc: "https://mirage.github.io/prometheus/" bug-reports: "https://github.com/mirage/prometheus/issues" depends: [ "ocaml" {>= "4.08"} - "dune" {>= "2.0"} + "dune" {>= "2.3"} "prometheus" {= version} "fmt" {>= "0.8.7"} "re" diff --git a/prometheus.opam b/prometheus.opam index 47c423f..95512bc 100644 --- a/prometheus.opam +++ b/prometheus.opam @@ -8,7 +8,7 @@ doc: "https://mirage.github.io/prometheus/" bug-reports: "https://github.com/mirage/prometheus/issues" depends: [ "ocaml" {>= "4.01.0"} - "dune" {>= "2.0"} + "dune" {>= "2.3"} "astring" "asetmap" "re"