From 2df073d588299434ce7960680d3c7fdf993ce9b4 Mon Sep 17 00:00:00 2001 From: Ulrik Strid Date: Wed, 29 Apr 2020 16:41:57 +0200 Subject: [PATCH] Set valid dune version for fmt 1.1 (#116) * Set valid dune version for fmt 1.1 # Warning: Version 1.1 of integration with automatic formatters is not # supported until version 1.7 of the dune language. # Supported versions of this extension in version 1.5 of the dune language: # - 1.0 * Set lower bound for dune in opam files --- dune-project | 2 +- h2-async.opam | 2 +- h2-lwt-unix.opam | 2 +- h2-lwt.opam | 2 +- h2-mirage.opam | 2 +- h2.opam | 2 +- hpack.opam | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dune-project b/dune-project index 8604ec7d..8f0f2bda 100644 --- a/dune-project +++ b/dune-project @@ -1,4 +1,4 @@ -(lang dune 1.5) +(lang dune 1.7) (using fmt 1.1) (name h2) diff --git a/h2-async.opam b/h2-async.opam index e30242ca..8cc2d8c2 100644 --- a/h2-async.opam +++ b/h2-async.opam @@ -11,7 +11,7 @@ build: [ ] depends: [ "ocaml" {>= "4.06"} - "dune" {>= "1.5"} + "dune" {>= "1.7"} "faraday-async" "async" "h2" {= version} diff --git a/h2-lwt-unix.opam b/h2-lwt-unix.opam index 38cc31f8..137bca46 100644 --- a/h2-lwt-unix.opam +++ b/h2-lwt-unix.opam @@ -13,7 +13,7 @@ depends: [ "ocaml" {>= "4.06"} "faraday-lwt-unix" "h2-lwt" {= version} - "dune" {>= "1.5"} + "dune" {>= "1.7"} "lwt" "gluten-lwt-unix" {>= "0.2.0"} ] diff --git a/h2-lwt.opam b/h2-lwt.opam index fafe1e52..b6233fc6 100644 --- a/h2-lwt.opam +++ b/h2-lwt.opam @@ -12,7 +12,7 @@ build: [ depends: [ "ocaml" {>= "4.06"} "h2" {= version} - "dune" {>= "1.5"} + "dune" {>= "1.7"} "lwt" "gluten-lwt" {>= "0.2.0"} ] diff --git a/h2-mirage.opam b/h2-mirage.opam index a33552d0..4babc468 100644 --- a/h2-mirage.opam +++ b/h2-mirage.opam @@ -13,7 +13,7 @@ depends: [ "ocaml" {>= "4.06"} "faraday-lwt" "h2-lwt" {= version} - "dune" {>= "1.5"} + "dune" {>= "1.7"} "lwt" "conduit-mirage" {>= "2.0.2"} "mirage-flow" {>= "2.0.0"} diff --git a/h2.opam b/h2.opam index 4314ad82..26e6f24e 100644 --- a/h2.opam +++ b/h2.opam @@ -11,7 +11,7 @@ build: [ ] depends: [ "ocaml" {>= "4.06"} - "dune" {>= "1.5"} + "dune" {>= "1.7"} "alcotest" {with-test} "yojson" {with-test} "hex" {with-test} diff --git a/hpack.opam b/hpack.opam index 4d844108..c378b915 100644 --- a/hpack.opam +++ b/hpack.opam @@ -9,7 +9,7 @@ dev-repo: "git+https://github.com/anmonteiro/ocaml-h2.git" doc: "https://anmonteiro.github.io/ocaml-h2/" depends: [ "ocaml" {>= "4.04"} - "dune" + "dune" {>= "1.7"} "yojson" {with-test} "hex" {with-test} "angstrom"