forked from ocaml-ppx/ppxlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dune-project
55 lines (51 loc) · 1.74 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
49
50
51
52
53
54
55
(lang dune 2.7)
(name ppxlib)
(using cinaps 1.0)
(allow_approximate_merlin)
(implicit_transitive_deps false)
(cram enable)
(generate_opam_files true)
(source (github ocaml-ppx/ppxlib))
(license MIT)
(authors "Jane Street Group, LLC <[email protected]>")
(maintainers "[email protected]")
(documentation "https://ocaml-ppx.github.io/ppxlib/")
(package
(name ppxlib)
(depends
(ocaml (and (>= 4.04.1) (< 5.1.0)))
(ocaml-compiler-libs (>= v0.11.0))
(ppx_derivers (>= 1.0))
(sexplib0 (>= v0.12))
(sexplib0 (and :with-test (>= "v0.15"))) ; Printexc.register_printer in sexplib0 changed
stdlib-shims
(ocamlfind :with-test)
(re (and :with-test (>= 1.9.0)))
(cinaps (and :with-test (>= v0.12.1)))
(base :with-test)
(stdio :with-test))
(conflicts
(ocaml-migrate-parsetree (< 2.0.0))
base-effects)
(synopsis "Standard library for ppx rewriters")
(description "Ppxlib is the standard library for ppx rewriters and other programs
that manipulate the in-memory representation of OCaml programs, a.k.a
the \"Parsetree\".
It also comes bundled with two ppx rewriters that are commonly used to
write tools that manipulate and/or generate Parsetree values;
`ppxlib.metaquot` which allows to construct Parsetree values using the
OCaml syntax directly and `ppxlib.traverse` which provides various
ways of automatically traversing values of a given type, in particular
allowing to inject a complex structured value into generated code.
"))
(package
(name ppxlib-bench)
(synopsis "Run ppxlib benchmarks")
(description "Third-party code in benchmarks depends on later versions of the ocaml
than ppxlib itself. Also the benchmark runner has dependencies that ppxlib doesn't
have.")
(depends
(ocaml (>= 4.04.1))
(ppxlib (= :version))
base
yojson))