Skip to content

Commit 25ec99a

Browse files
authored
Merge pull request ocaml#21960 from Leonidas-from-XIV/release-yojson-2.0.2
[new release] yojson and yojson-bench (2.0.2)
2 parents 047bed7 + 12e7716 commit 25ec99a

File tree

2 files changed

+72
-0
lines changed
  • packages
    • yojson-bench/yojson-bench.2.0.2
    • yojson/yojson.2.0.2

2 files changed

+72
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
opam-version: "2.0"
2+
3+
authors: ["Martin Jambon"]
4+
homepage: "https://github.com/ocaml-community/yojson"
5+
bug-reports: "https://github.com/ocaml-community/yojson/issues"
6+
dev-repo: "git+https://github.com/ocaml-community/yojson.git"
7+
doc: "https://ocaml-community.github.io/yojson/"
8+
license: "BSD-3-Clause"
9+
depends: [
10+
"ocaml" {>= "4.08"}
11+
"yojson" {= version}
12+
"dune"
13+
"core_bench" {>= "v0.14.0"}
14+
"core" {>= "v0.14.0"}
15+
"core_unix" {>= "v0.14.0"}
16+
]
17+
build: [
18+
["dune" "subst"] {dev}
19+
["dune" "build" "-p" name "-j" jobs]
20+
]
21+
synopsis: "Run Yojson benchmarks"
22+
description: """\
23+
Yojson benchmarks require `Core_bench` which is not a dependency of Yojson,
24+
because it is not part of the regular installation/testing flow. This is solely
25+
meant for developers that are worried about performance changes in Yojson."""
26+
url {
27+
src:
28+
"https://github.com/ocaml-community/yojson/releases/download/2.0.2/yojson-2.0.2.tbz"
29+
checksum: [
30+
"sha256=876bb6f38af73a84a29438a3da35e4857c60a14556a606525b148c6fdbe5461b"
31+
"sha512=9e150689a814a64e53e361e336fe826df5a3e3851d1367fda4a001392175c29348de55db0b7d7ba18539dec2cf78198efcb7f41b77a9861763f5aa97c05509ad"
32+
]
33+
}
34+
x-commit-hash: "17ca03c5877a4346f0691443f35ed9678f99962f"

packages/yojson/yojson.2.0.2/opam

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
opam-version: "2.0"
2+
3+
authors: ["Martin Jambon"]
4+
homepage: "https://github.com/ocaml-community/yojson"
5+
bug-reports: "https://github.com/ocaml-community/yojson/issues"
6+
dev-repo: "git+https://github.com/ocaml-community/yojson.git"
7+
doc: "https://ocaml-community.github.io/yojson/"
8+
license: "BSD-3-Clause"
9+
build: [
10+
["dune" "subst"] {dev}
11+
["dune" "build" "-p" name "-j" jobs]
12+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
13+
["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc}
14+
]
15+
depends: [
16+
"ocaml" {>= "4.02.3"}
17+
"dune" {>= "2.0"}
18+
"cppo" {build}
19+
"alcotest" {with-test & >= "0.8.5"}
20+
"odoc" {with-doc}
21+
"seq" {>= "0.2.2"}
22+
]
23+
synopsis:
24+
"Yojson is an optimized parsing and printing library for the JSON format"
25+
description: """
26+
Yojson is an optimized parsing and printing library for the JSON format.
27+
28+
ydump is a pretty-printing command-line program provided with the
29+
yojson package."""
30+
url {
31+
src:
32+
"https://github.com/ocaml-community/yojson/releases/download/2.0.2/yojson-2.0.2.tbz"
33+
checksum: [
34+
"sha256=876bb6f38af73a84a29438a3da35e4857c60a14556a606525b148c6fdbe5461b"
35+
"sha512=9e150689a814a64e53e361e336fe826df5a3e3851d1367fda4a001392175c29348de55db0b7d7ba18539dec2cf78198efcb7f41b77a9861763f5aa97c05509ad"
36+
]
37+
}
38+
x-commit-hash: "17ca03c5877a4346f0691443f35ed9678f99962f"

0 commit comments

Comments
 (0)