Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename Yojson-json5 to Yojson-five to not repeat JSON all the time #177

Merged
merged 1 commit into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ yojson package.")
(alcotest (and :with-test (>= 0.8.5)))
(seq (>= 0.2.2))))

(package
(name yojson-five)
(synopsis "Yojson-five is a parsing and printing library for the JSON5 format")
(description "Yojson-five is a parsing and printing library for the JSON5 format.
It supports parsing JSON5 to Yojson.Basic.t and Yojson.Safe.t types.")
(depends
(ocaml (>= 4.08))
(sedlex (>= 2.5))
(alcotest (and :with-test (>= 0.8.5)))))

(package
(name yojson-bench)
(synopsis "Run Yojson benchmarks")
Expand All @@ -34,14 +44,3 @@ meant for developers that are worried about performance changes in Yojson.")
(core (>= v0.14.0))
(core_unix (>= v0.14.0))
(sexplib (>= v0.9.0))))

(package
(name yojson-json5)
(synopsis "Yojson_json5 is a parsing and printing library for the JSON5 format")
(description "Yojson_json5 is a parsing and printing library for the JSON5 format.
It supports parsing JSON5 to Yojson.Basic.t and Yojson.Safe.t types.")
(depends
(ocaml (>= 4.08))
(sedlex (>= 2.5))
(alcotest (and :with-test (>= 0.8.5)))))

4 changes: 2 additions & 2 deletions lib/json5/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(library
(name yojson_json5)
(public_name yojson-json5)
(name yojson_five)
(public_name yojson-five)
(libraries yojson sedlex)
(preprocess
(pps sedlex.ppx)))
4 changes: 2 additions & 2 deletions test_json5/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(test
(name test)
(package yojson-json5)
(libraries alcotest yojson_json5))
(package yojson-five)
(libraries alcotest yojson_five))
2 changes: 1 addition & 1 deletion test_json5/test.ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module M = Yojson_json5.Safe
module M = Yojson_five.Safe

let yojson = Alcotest.testable M.pp M.equal

Expand Down
4 changes: 2 additions & 2 deletions yojson-json5.opam → yojson-five.opam
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis:
"Yojson_json5 is a parsing and printing library for the JSON5 format"
"Yojson-five is a parsing and printing library for the JSON5 format"
description: """
Yojson_json5 is a parsing and printing library for the JSON5 format.
Yojson-five is a parsing and printing library for the JSON5 format.
It supports parsing JSON5 to Yojson.Basic.t and Yojson.Safe.t types."""
maintainer: [
"[email protected]" "[email protected]" "[email protected]"
Expand Down
Loading