Skip to content

Commit

Permalink
[new release] yojson and yojson-bench (2.0.2)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
Leonidas-from-XIV committed Aug 9, 2022
1 parent 00289b2 commit 8a96c81
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.2/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.2/yojson-2.0.2.tbz"
checksum: [
"sha256=876bb6f38af73a84a29438a3da35e4857c60a14556a606525b148c6fdbe5461b"
"sha512=9e150689a814a64e53e361e336fe826df5a3e3851d1367fda4a001392175c29348de55db0b7d7ba18539dec2cf78198efcb7f41b77a9861763f5aa97c05509ad"
]
}
x-commit-hash: "17ca03c5877a4346f0691443f35ed9678f99962f"
38 changes: 38 additions & 0 deletions packages/yojson/yojson.2.0.2/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.2/yojson-2.0.2.tbz"
checksum: [
"sha256=876bb6f38af73a84a29438a3da35e4857c60a14556a606525b148c6fdbe5461b"
"sha512=9e150689a814a64e53e361e336fe826df5a3e3851d1367fda4a001392175c29348de55db0b7d7ba18539dec2cf78198efcb7f41b77a9861763f5aa97c05509ad"
]
}
x-commit-hash: "17ca03c5877a4346f0691443f35ed9678f99962f"

0 comments on commit 8a96c81

Please sign in to comment.