From 8a96c816755168d76b75305158dfec86fcd99035 Mon Sep 17 00:00:00 2001 From: Marek Kubica Date: Tue, 9 Aug 2022 16:06:00 +0200 Subject: [PATCH] [new release] yojson and yojson-bench (2.0.2) CHANGES: *2022-08-09* ### Added - Expanded documentation of exceptions (@sim642, ocaml-community/yojson#148) ### Removed - Removed undocumented and unused functions `write_float_fast` and `write_std_float_fast` from `Yojson`, `Yojson.Basic` and `Yojson.Safe` (@sim642, ocaml-community/yojson#149) ### Fixed - Fix out-of-bounds error occurring when parsing object field names with atdgen parsers using `map_ident` or `map_lexeme` (@mjambon, ocaml-community/yojson#150) --- packages/yojson-bench/yojson-bench.2.0.2/opam | 34 +++++++++++++++++ packages/yojson/yojson.2.0.2/opam | 38 +++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 packages/yojson-bench/yojson-bench.2.0.2/opam create mode 100644 packages/yojson/yojson.2.0.2/opam diff --git a/packages/yojson-bench/yojson-bench.2.0.2/opam b/packages/yojson-bench/yojson-bench.2.0.2/opam new file mode 100644 index 00000000000..9ff4272966f --- /dev/null +++ b/packages/yojson-bench/yojson-bench.2.0.2/opam @@ -0,0 +1,34 @@ +opam-version: "2.0" +maintainer: ["paul-elliot@tarides.com" "nathan@tarides.com" "marek@tarides.com"] +authors: ["Martin Jambon"] +homepage: "https://github.com/ocaml-community/yojson" +bug-reports: "https://github.com/ocaml-community/yojson/issues" +dev-repo: "git+https://github.com/ocaml-community/yojson.git" +doc: "https://ocaml-community.github.io/yojson/" +license: "BSD-3-Clause" +depends: [ + "ocaml" {>= "4.08"} + "yojson" {= version} + "dune" + "core_bench" {>= "v0.14.0"} + "core" {>= "v0.14.0"} + "core_unix" {>= "v0.14.0"} +] +build: [ + ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs] +] +synopsis: "Run Yojson benchmarks" +description: """\ +Yojson benchmarks require `Core_bench` which is not a dependency of Yojson, +because it is not part of the regular installation/testing flow. This is solely +meant for developers that are worried about performance changes in Yojson.""" +url { + src: + "https://github.com/ocaml-community/yojson/releases/download/2.0.2/yojson-2.0.2.tbz" + checksum: [ + "sha256=876bb6f38af73a84a29438a3da35e4857c60a14556a606525b148c6fdbe5461b" + "sha512=9e150689a814a64e53e361e336fe826df5a3e3851d1367fda4a001392175c29348de55db0b7d7ba18539dec2cf78198efcb7f41b77a9861763f5aa97c05509ad" + ] +} +x-commit-hash: "17ca03c5877a4346f0691443f35ed9678f99962f" diff --git a/packages/yojson/yojson.2.0.2/opam b/packages/yojson/yojson.2.0.2/opam new file mode 100644 index 00000000000..8f418647f7c --- /dev/null +++ b/packages/yojson/yojson.2.0.2/opam @@ -0,0 +1,38 @@ +opam-version: "2.0" +maintainer: ["nathan@cryptosense.com" "marek@xivilization.net"] +authors: ["Martin Jambon"] +homepage: "https://github.com/ocaml-community/yojson" +bug-reports: "https://github.com/ocaml-community/yojson/issues" +dev-repo: "git+https://github.com/ocaml-community/yojson.git" +doc: "https://ocaml-community.github.io/yojson/" +license: "BSD-3-Clause" +build: [ + ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} + ["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc} +] +depends: [ + "ocaml" {>= "4.02.3"} + "dune" + "cppo" {build} + "alcotest" {with-test & >= "0.8.5"} + "odoc" {with-doc} + "seq" {>= "0.2.2"} +] +synopsis: + "Yojson is an optimized parsing and printing library for the JSON format" +description: """ +Yojson is an optimized parsing and printing library for the JSON format. + +ydump is a pretty-printing command-line program provided with the +yojson package.""" +url { + src: + "https://github.com/ocaml-community/yojson/releases/download/2.0.2/yojson-2.0.2.tbz" + checksum: [ + "sha256=876bb6f38af73a84a29438a3da35e4857c60a14556a606525b148c6fdbe5461b" + "sha512=9e150689a814a64e53e361e336fe826df5a3e3851d1367fda4a001392175c29348de55db0b7d7ba18539dec2cf78198efcb7f41b77a9861763f5aa97c05509ad" + ] +} +x-commit-hash: "17ca03c5877a4346f0691443f35ed9678f99962f"