opam-version: "2.0" synopsis: "Type-safe encoding to and decoding from JSON" maintainer: "contact@nomadic-labs.com" authors: [ "Nomadic Labs" "Ocamlpro" ] homepage: "https://gitlab.com/nomadic-labs/json-data-encoding" bug-reports: "https://gitlab.com/nomadic-labs/json-data-encoding/issues" license: "MIT" dev-repo: "git+https://gitlab.com/nomadic-labs/json-data-encoding" build: [ ["dune" "build" "-j" jobs "-p" name] ["dune" "runtest" "-p" name "-j" jobs] {with-test & !ocaml-option-bytecode-only:installed} ] depends: [ "ocaml" {>= "4.10"} "dune" {>= "3.0"} "uri" {>= "1.9.0" } "hex" {>= "1.3.0"} "crowbar" { with-test } "alcotest" { with-test } "ocamlformat" { = "0.24.1" & with-doc } # not technically a doc dep; modify when with-dev becomes available "odoc" { with-doc } "js_of_ocaml-compiler" { with-test } "conf-npm" { with-test } ] conflicts: [ "data-encoding" {!= version} ] url { src: "https://gitlab.com/nomadic-labs/data-encoding/-/archive/v1.0.1/data-encoding-v1.0.1.tar.gz" checksum: [ "md5=82d6e7783274595c82cff4562e2b06a2" "sha512=df5d00dfef8afeada8a6aee2a97d491a2ce20cfe90aed203848f6098ba05ba60e2ee9d1afc0c6c07cf32dad3f8e34c0b55cf900ef1f2e7a72d704f07fd32e651" ] }