opam-version: "2.0"
homepage: "https://github.com/capnproto/capnp-ocaml"
bug-reports: "https://github.com/capnproto/capnp-ocaml/issues"
dev-repo: "git+https://github.com/capnproto/capnp-ocaml.git"
maintainer: "Paul Pelzl <pelzlpj@gmail.com>"

build: [
  ["jbuilder" "build" "-p" name "-j" jobs]
  ["jbuilder" "build" "@runtest" "@src/benchmark/benchmarks"] {with-test}
]
depends: [
  "ocaml" {>= "4.02.0"}
  "jbuilder"
  "result"
  "core_kernel" {>= "v0.10.0" & < "v0.11"}
  "extunix"
  "ocplib-endian" {>= "0.7"}
  "res"
  "uint"
  "core" {with-test & < "v0.15"}
  "ounit" {with-test}
  "conf-capnproto" {with-test}
]
synopsis:
  "OCaml code generation plugin for the Cap'n Proto serialization framework"
description: """
Cap'n Proto is a multi-language code generation framework designed for
high performance through the use of lazy parsing and arena allocation.
This package provides a plugin for the Cap'n Proto compiler which enables
OCaml code generation, as well as corresponding runtime library support."""
authors: "Paul Pelzl <pelzlpj@gmail.com>"
url {
  src:
    "https://github.com/capnproto/capnp-ocaml/releases/download/v3.2.0/capnp-3.2.0.tbz"
  checksum: "md5=e2ad69c6465b960cf8834b42138a1303"
}
