# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
build: [
  ["dune" "subst"] {pinned}
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
  ["dune" "build" "-p" name "@doc"] {with-doc}
]
maintainer: ["martin@mjambon.com"]
authors: ["Martin Jambon"]
bug-reports: "https://github.com/mjambon/biniou/issues"
homepage: "https://github.com/mjambon/biniou"
doc: "https://mjambon.github.io/biniou/"
license: "BSD-3-Clause"
dev-repo: "git+https://github.com/mjambon/biniou.git"
synopsis:
  "Binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve"
description: """

Biniou (pronounced "be new") is a binary data format designed for speed, safety,
ease of use and backward compatibility as protocols evolve. Biniou is vastly
equivalent to JSON in terms of functionality but allows implementations several
times faster (4 times faster than yojson), with 25-35% space savings.

Biniou data can be decoded into human-readable form without knowledge of type
definitions except for field and variant names which are represented by 31-bit
hashes. A program named bdump is provided for routine visualization of biniou
data files.

The program atdgen is used to derive OCaml-Biniou serializers and deserializers
from type definitions.

Biniou format specification: mjambon.github.io/atdgen-doc/biniou-format.txt"""
depends: [
  "easy-format"
  "camlp-streams"
  "dune" {>= "1.10"}
  "ocaml" {>= "4.02.3"}
]
