From 2bdd5182142d79710d53bf7c4da2a1f066f71590 Mon Sep 17 00:00:00 2001 From: Kate Date: Thu, 13 Oct 2022 19:56:08 +0100 Subject: [PATCH] Add support for OCaml 5.0 --- dune-project | 1 + pgx.opam | 1 + pgx/src/dune | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dune-project b/dune-project index 02eeb13..479cd2b 100644 --- a/dune-project +++ b/dune-project @@ -33,6 +33,7 @@ (>= 3.2)) hex ipaddr + camlp-streams (ocaml (>= 4.08)) (odoc :with-doc) diff --git a/pgx.opam b/pgx.opam index 7baea52..89869a6 100644 --- a/pgx.opam +++ b/pgx.opam @@ -15,6 +15,7 @@ depends: [ "dune" {>= "3.2" & >= "3.2"} "hex" "ipaddr" + "camlp-streams" "ocaml" {>= "4.08"} "odoc" {with-doc} "ppx_compare" {>= "v0.13.0"} diff --git a/pgx/src/dune b/pgx/src/dune index 3f2d0d0..172a1ce 100644 --- a/pgx/src/dune +++ b/pgx/src/dune @@ -10,6 +10,6 @@ let () = Jbuild_plugin.V1.send @@ {| (library (public_name pgx) - (libraries hex ipaddr uuidm re sexplib0) + (libraries hex ipaddr uuidm re sexplib0 camlp-streams) (preprocess (pps ppx_compare ppx_custom_printf ppx_sexp_conv |} ^ preprocess ^ {|))) |}