opam-version: "2.0"
maintainer: "Paul Pelzl <pelzlpj@gmail.com>"
authors: "Paul Pelzl <pelzlpj@gmail.com>"
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"
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.11.0" & < "v0.13"}
  "extunix"
  "ocplib-endian" {>= "0.7"}
  "res"
  "uint"
  "core" {with-test & < "v0.12"}
  "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."""
url {
  src: "https://github.com/capnproto/capnp-ocaml/archive/v3.2.1.tar.gz"
  checksum: "md5=1c8519640a3e5f06c48220d2194d9d36"
}
