-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdune-project
30 lines (27 loc) · 1.1 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
(lang dune 2.7)
(generate_opam_files true)
(name conformist)
(version 0.8.1)
(authors "Josef Erben")
(source (github oxidizing/conformist))
(license MIT)
(maintainers "josef@oxidizing.io")
(homepage "https://github.com/oxidizing/conformist")
(bug_reports "https://github.com/oxidizing/conformist/issues")
(documentation "https://oxidizing.github.io/conformist/")
(package
(name conformist)
(synopsis "Conformist allows you to define schemas to decode, validate and sanitize input data declaratively")
(description "
Conformist allows you to define schemas to decode, validate and sanitize input data declaratively.
It comes with runtime types for primitive OCaml types such as `int`, `string`, `bool` and `float` but also `Ptime.t`, `option` and custom types.
Re-use business rules in validators and run it on the client side with js_of_ocaml.
Arbitrary meta data can be stored in schemas which is useful to build functionality on top of conformist.
")
(depends
(ocaml (>= 4.08.0))
(ptime (>= 0.8.5))
(alcotest (and (>= 1.2.3) :with-test))
(sexplib (and (>= v0.13.0) :with-test)))
(conflicts
(result (< 1.5))))