diff --git a/bench/bench.ml b/bench/bench.ml index 18f23ef6..3407947e 100644 --- a/bench/bench.ml +++ b/bench/bench.ml @@ -79,7 +79,7 @@ let main () = ("generic", generic); ("buffer", buffer) ] - |> Command.run + |> Command_unix.run let () = main () diff --git a/bench/dune b/bench/dune index 2acdea99..84e10c81 100644 --- a/bench/dune +++ b/bench/dune @@ -3,7 +3,7 @@ (package yojson-bench) (public_name yojson-bench) (flags (-safe-string)) - (libraries yojson core_bench core)) + (libraries yojson core_bench core core_unix.command_unix)) (alias (name bench-generic) diff --git a/yojson-bench.opam b/yojson-bench.opam index bbdb6e05..33b5f6dd 100644 --- a/yojson-bench.opam +++ b/yojson-bench.opam @@ -7,11 +7,12 @@ dev-repo: "git+https://github.com/ocaml-community/yojson.git" doc: "https://ocaml-community.github.io/yojson/" license: "BSD-3-Clause" depends: [ - "ocaml" {>= "4.04"} + "ocaml" {>= "4.08"} "yojson" {= version} "dune" - "core_bench" {>= "v0.11.0"} - "core" {>= "v0.11.0"} + "core_bench" {>= "v0.14.0"} + "core" {>= "v0.14.0"} + "core_unix" {>= "v0.14.0"} ] build: [ ["dune" "subst"] {pinned}