-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathdune-project
48 lines (42 loc) · 1.58 KB
/
dune-project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
(lang dune 2.7)
(name yojson)
(generate_opam_files true)
(source (github ocaml-community/yojson))
(license BSD-3-Clause)
(authors "Martin Jambon")
(package
(name yojson)
(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.")
(documentation "https://ocaml.org/p/yojson/latest")
(depends
(ocaml (>= 4.02.3))
(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.")
(documentation "https://ocaml.org/p/yojson-five/latest")
(depends
(ocaml (>= 4.08))
(sedlex (>= 2.5))
(yojson (= :version))
(alcotest (and :with-test (>= 0.8.5)))))
(package
(name yojson-bench)
(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.")
(depends
(ocaml (>= 4.08))
(yojson (= :version))
(core_bench (>= v0.15.0))
(core (>= v0.14.0))
(core_unix (>= v0.14.0))
(sexplib (>= v0.9.0))))