bump to dune 3.15 to fix format

This commit is contained in:
Simon Cruanes 2026-04-07 22:57:51 -04:00
parent 1b59d8aaaf
commit c372afd2b5
4 changed files with 6 additions and 5 deletions

View file

@ -1,4 +1,4 @@
(lang dune 3.0) (lang dune 3.15)
(using mdx 0.2) (using mdx 0.2)

View file

@ -8,7 +8,7 @@ license: "MIT"
homepage: "https://github.com/c-cube/moonpool" homepage: "https://github.com/c-cube/moonpool"
bug-reports: "https://github.com/c-cube/moonpool/issues" bug-reports: "https://github.com/c-cube/moonpool/issues"
depends: [ depends: [
"dune" {>= "3.0"} "dune" {>= "3.15"}
"moonpool" {= version} "moonpool" {= version}
"ocaml" {>= "5.0"} "ocaml" {>= "5.0"}
"qcheck-core" {with-test & >= "0.21"} "qcheck-core" {with-test & >= "0.21"}

View file

@ -10,7 +10,7 @@ homepage: "https://github.com/c-cube/moonpool"
bug-reports: "https://github.com/c-cube/moonpool/issues" bug-reports: "https://github.com/c-cube/moonpool/issues"
depends: [ depends: [
"ocaml" {>= "5.0"} "ocaml" {>= "5.0"}
"dune" {>= "3.0"} "dune" {>= "3.15"}
"either" {>= "1.0"} "either" {>= "1.0"}
"trace" {>= "0.11" & with-test} "trace" {>= "0.11" & with-test}
"trace-tef" {>= "0.11" & with-test} "trace-tef" {>= "0.11" & with-test}

View file

@ -1,9 +1,10 @@
(library (library
(name moonpool_lwt) (name moonpool_lwt)
(public_name moonpool-lwt) (public_name moonpool-lwt)
(optional)
(enabled_if (enabled_if
(>= %{ocaml_version} 5.0)) (and
(>= %{ocaml_version} 5.0)
%{lib-available:lwt}))
(modules moonpool_lwt types_) (modules moonpool_lwt types_)
(libraries (libraries
(re_export moonpool) (re_export moonpool)