diff --git a/dune-project b/dune-project index b627340..461a22f 100644 --- a/dune-project +++ b/dune-project @@ -16,7 +16,7 @@ (synopsis "Core engine of the YOCaml Static Site Generator") (description "YOCaml is a build system dedicated to generate static document") (depends - (ocaml (>= 5.1.1)) + (ocaml (and (>= 5.1.1) (< 5.3))) (dune (>= 3.0.0)) (odoc :with-doc) (sherlodoc :with-doc) diff --git a/yocaml.opam b/yocaml.opam index 8bd8c1a..2515abe 100644 --- a/yocaml.opam +++ b/yocaml.opam @@ -9,7 +9,7 @@ license: "GPL-3.0-or-later" homepage: "https://github.com/xhtmlboi/yocaml" bug-reports: "https://github.com/xhtmlboi/yocaml/issues" depends: [ - "ocaml" {>= "5.1.1"} + "ocaml" {>= "5.1.1" & < "5.3"} "dune" {>= "3.14" & >= "3.0.0"} "odoc" {with-doc} "sherlodoc" {with-doc}