Skip to content

Commit

Permalink
[new release] yojson and yojson-bench (2.0.1)
Browse files Browse the repository at this point in the history
CHANGES:

*2022-06-28*

### Fixed

- Fix pretty-printing behavior for lists/objects inside lists (@c-cube
  ocaml-community/yojson#141, @mjambon ocaml-community/yojson#142)
  • Loading branch information
Leonidas-from-XIV committed Jun 28, 2022
1 parent 1178c55 commit e628660
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
34 changes: 34 additions & 0 deletions packages/yojson-bench/yojson-bench.2.0.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
opam-version: "2.0"
maintainer: ["[email protected]" "[email protected]" "[email protected]"]
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.1/yojson-2.0.1.tbz"
checksum: [
"sha256=8bc8bc722a4a94656a58394f17f9f8a406267343ab87d77202db930584a0c836"
"sha512=93ebabd3247f1b5826827472229188c5ac1b4d2395eb8121a22b35acd773eedd290e6b8de1f067020fc868da7c05a60408091eebc0b305a67408d558a3a94c10"
]
}
x-commit-hash: "b67669eaa82d56663dc042246787d18789457cfc"
38 changes: 38 additions & 0 deletions packages/yojson/yojson.2.0.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
opam-version: "2.0"
maintainer: ["[email protected]" "[email protected]"]
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.1/yojson-2.0.1.tbz"
checksum: [
"sha256=8bc8bc722a4a94656a58394f17f9f8a406267343ab87d77202db930584a0c836"
"sha512=93ebabd3247f1b5826827472229188c5ac1b4d2395eb8121a22b35acd773eedd290e6b8de1f067020fc868da7c05a60408091eebc0b305a67408d558a3a94c10"
]
}
x-commit-hash: "b67669eaa82d56663dc042246787d18789457cfc"

0 comments on commit e628660

Please sign in to comment.