From c372afd2b5c8bc53160a24e8fa1ea89a81bcfcb0 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Tue, 7 Apr 2026 22:57:51 -0400 Subject: [PATCH] bump to dune 3.15 to fix format --- dune-project | 2 +- moonpool-lwt.opam | 2 +- moonpool.opam | 2 +- src/lwt/dune | 5 +++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/dune-project b/dune-project index 8c243126..f3f0ef36 100644 --- a/dune-project +++ b/dune-project @@ -1,4 +1,4 @@ -(lang dune 3.0) +(lang dune 3.15) (using mdx 0.2) diff --git a/moonpool-lwt.opam b/moonpool-lwt.opam index 22e4e492..ac170d74 100644 --- a/moonpool-lwt.opam +++ b/moonpool-lwt.opam @@ -8,7 +8,7 @@ license: "MIT" homepage: "https://github.com/c-cube/moonpool" bug-reports: "https://github.com/c-cube/moonpool/issues" depends: [ - "dune" {>= "3.0"} + "dune" {>= "3.15"} "moonpool" {= version} "ocaml" {>= "5.0"} "qcheck-core" {with-test & >= "0.21"} diff --git a/moonpool.opam b/moonpool.opam index 53f44548..ebd295fa 100644 --- a/moonpool.opam +++ b/moonpool.opam @@ -10,7 +10,7 @@ homepage: "https://github.com/c-cube/moonpool" bug-reports: "https://github.com/c-cube/moonpool/issues" depends: [ "ocaml" {>= "5.0"} - "dune" {>= "3.0"} + "dune" {>= "3.15"} "either" {>= "1.0"} "trace" {>= "0.11" & with-test} "trace-tef" {>= "0.11" & with-test} diff --git a/src/lwt/dune b/src/lwt/dune index 77d0c3c0..11e52d42 100644 --- a/src/lwt/dune +++ b/src/lwt/dune @@ -1,9 +1,10 @@ (library (name moonpool_lwt) (public_name moonpool-lwt) - (optional) (enabled_if - (>= %{ocaml_version} 5.0)) + (and + (>= %{ocaml_version} 5.0) + %{lib-available:lwt})) (modules moonpool_lwt types_) (libraries (re_export moonpool)