From dec49cdea2e5b9c6c1d995882f40182be0bf5717 Mon Sep 17 00:00:00 2001 From: Marek Kubica Date: Fri, 31 May 2024 14:28:37 +0200 Subject: [PATCH] Add proper dependency from `yojson-five` to `yojson` --- dune-project | 1 + yojson-five.opam | 1 + 2 files changed, 2 insertions(+) diff --git a/dune-project b/dune-project index 04e5191..143e34a 100644 --- a/dune-project +++ b/dune-project @@ -29,6 +29,7 @@ It supports parsing JSON5 to Yojson.Basic.t and Yojson.Safe.t types.") (depends (ocaml (>= 4.08)) (sedlex (>= 2.5)) + (yojson (= :version)) (alcotest (and :with-test (>= 0.8.5))))) (package diff --git a/yojson-five.opam b/yojson-five.opam index 908b8e6..0fb6206 100644 --- a/yojson-five.opam +++ b/yojson-five.opam @@ -17,6 +17,7 @@ depends: [ "dune" {>= "2.7"} "ocaml" {>= "4.08"} "sedlex" {>= "2.5"} + "yojson" {= version} "alcotest" {with-test & >= "0.8.5"} "odoc" {with-doc} ]