You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.7 KiB
45 lines
1.7 KiB
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" |
|
"dune" {>= "1.10"} |
|
"ocaml" {>= "4.02.3"} |
|
] |
|
url { |
|
src: |
|
"https://github.com/mjambon/biniou/releases/download/1.2.1/biniou-1.2.1.tbz" |
|
checksum: [ |
|
"sha256=35546c68b1929a8e6d27a3b39ecd17b38303a0d47e65eb9d1480c2061ea84335" |
|
"sha512=82670cc77bf3e869ee26e5fbe5a5affa45a22bc8b6c4bd7e85473912780e0111baca59b34a2c14feae3543ce6e239d7fddaeab24b686a65bfe642cdb91d27ebf" |
|
] |
|
}
|
|
|