Repository navigation
Expand file tree
/
Copy pathdune-project
More file actions
99 lines (89 loc) · 1.9 KB
/
Copy pathdune-project
File metadata and controls
99 lines (89 loc) · 1.9 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
(lang dune 3.18)
(name wiretype)
(using melange 0.1)
(implicit_transitive_deps false)
(generate_opam_files true)
(maintainers "Hypha Technologies Ltd <dev@hyphatech.io>")
(authors "Hypha Technologies Ltd")
(license MIT)
(maintenance_intent "(latest)")
(source
(github hyphatech/wiretype))
(package
(name wiretype)
(synopsis "JSON contracts for modern OCaml")
(description
"One value describes a JSON shape: it reads a document in one pass with every problem found, writes a value, checks the bounds it states, and prints itself as JSON Schema 2020-12, as Zod and as Melange, so a server, a browser and a model read one contract. Depends on Ptime, Mtime and Uuidm alone.")
(depends
(ocaml
(>= 5.5))
(ptime
(>= 1.2.0))
(mtime
(>= 2.1.0))
(uuidm
(>= 0.9.10))
(alcotest
(and
:with-test
(>= 1.9.1)))
(melange
(and
:with-test
(>= 7.0.1-55)))
(odoc
(and
:with-dev-setup
(>= 3.2.1)))
(merlin
(and
:with-dev-setup
(>= 5.6-504)))
(ocaml-lsp-server
(and
:with-dev-setup
(>= 1.25.0)))
(ocamlformat
(and
:with-dev-setup
(= 0.29.0)))))
(package
(name ppx_wiretype)
(synopsis "[@@deriving wiretype]: a type's wiretype description, derived")
(description
"Writes a type's description from records, enums, tagged unions, polymorphic variants, type parameters and recursive types, with bounds, defaults, docs and examples as attributes. What it writes is wiretype's public combinators.")
(depends
(ocaml
(>= 5.5))
(wiretype
(= :version))
(ppxlib
(>= 0.38.0))
(ptime
(and
:with-test
(>= 1.2.0)))
(mtime
(and
:with-test
(>= 2.1.0)))
(uuidm
(and
:with-test
(>= 0.9.10)))
(yojson
(and
:with-test
(>= 3.0.0)))
(alcotest
(and
:with-test
(>= 1.9.1)))
(qcheck-core
(and
:with-test
(>= 0.91)))
(qcheck-alcotest
(and
:with-test
(>= 0.91)))))