···11+opam-version: "2.0"
22+synopsis:
33+ "Conformist allows you to define schemas to decode, validate and sanitize input data declaratively"
44+description: """
55+66+Conformist allows you to define schemas to decode, validate and sanitize input data declaratively.
77+It comes with runtime types for primitive OCaml types such as `int`, `string`, `bool` and `float` but also `Ptime.date`, optional and custom types.
88+Re-use business rules in validators and run it on the client side with js_of_ocaml.
99+Arbitrary meta data can be stored in schemas which is useful to build functionality on top of conformist.
1010+"""
1111+maintainer: ["josef@oxidizing.io"]
1212+authors: ["Josef Erben"]
1313+license: "MIT"
1414+homepage: "https://github.com/oxidizing/conformist"
1515+doc: "https://oxidizing.github.io/conformist/"
1616+bug-reports: "https://github.com/oxidizing/conformist/issues"
1717+depends: [
1818+ "dune" {>= "2.4"}
1919+ "ocaml" {>= "4.08.0"}
2020+ "alcotest" {>= "1.2.3" & with-test}
2121+ "sexplib" {>= "v0.13.0" & with-test}
2222+]
2323+build: [
2424+ ["dune" "subst"] {pinned}
2525+ [
2626+ "dune"
2727+ "build"
2828+ "-p"
2929+ name
3030+ "-j"
3131+ jobs
3232+ "@install"
3333+ "@runtest" {with-test}
3434+ "@doc" {with-doc}
3535+ ]
3636+]
3737+dev-repo: "git+https://github.com/oxidizing/conformist.git"
3838+x-commit-hash: "593c2d9fb35f540f099938ed84edaf83b2e58afd"
3939+url {
4040+ src:
4141+ "https://github.com/oxidizing/conformist/releases/download/0.2.1/conformist-0.2.1.tbz"
4242+ checksum: [
4343+ "sha256=80321b97c08f27985a678c64e24224267e420e5efa9f9c5c3a4a7da6aedc6ea8"
4444+ "sha512=1154d81a8e1bc3034889ef7f1e6221ed6a83cb4f401683a4cd48ed9d3d47b6a2c3860fc147675eb5902c1e626873b44d2c1c202648b353600065fc530874af74"
4545+ ]
4646+}