-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[new release] yojson and yojson-bench (2.0.1)
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
1 parent
1178c55
commit e628660
Showing
2 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |