-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconformist.opam
44 lines (43 loc) · 1.31 KB
/
conformist.opam
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
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.8.1"
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.
"""
maintainer: ["josef@oxidizing.io"]
authors: ["Josef Erben"]
license: "MIT"
homepage: "https://github.com/oxidizing/conformist"
doc: "https://oxidizing.github.io/conformist/"
bug-reports: "https://github.com/oxidizing/conformist/issues"
depends: [
"dune" {>= "2.7"}
"ocaml" {>= "4.08.0"}
"ptime" {>= "0.8.5"}
"alcotest" {>= "1.2.3" & with-test}
"sexplib" {>= "v0.13.0" & with-test}
"odoc" {with-doc}
]
conflicts: [
"result" {< "1.5"}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/oxidizing/conformist.git"