summaryrefslogtreecommitdiff
path: root/ocplib-endian.opam
blob: 9cbae8020e99bed9be3e7a44256f78c9a04d4ddf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
opam-version: "2.0"
name: "ocplib-endian"
synopsis: "Optimised functions to read and write int16/32/64 from strings and bigarrays"
description: """
The library implements three modules:
* [EndianString](https://github.com/OCamlPro/ocplib-endian/blob/master/src/endianString.mli) works directly on strings, and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts;
* [EndianBytes](https://github.com/OCamlPro/ocplib-endian/blob/master/src/endianBytes.mli) works directly on bytes, and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts;
* [EndianBigstring](https://github.com/OCamlPro/ocplib-endian/blob/master/src/endianBigstring.mli) works on bigstrings (Bigarrays of chars), and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts.
"""
maintainer: "pierre.chambart@ocamlpro.com"
authors: "Pierre Chambart"
homepage: "https://github.com/OCamlPro/ocplib-endian"
bug-reports: "https://github.com/OCamlPro/ocplib-endian/issues"
doc: "https://ocamlpro.github.io/ocplib-endian/ocplib-endian/"
depends: [
  "base-bytes"
  "ocaml" {>= "4.03.0"}
  "cppo" {>= "1.1.0" & build}
  "dune" {>= "1.0"}
]
build: [
  ["dune" "build" "-p" name "-j" jobs
   "@install"
   "@runtest" {with-test}
   "@doc" {with-doc}]
]
dev-repo: "git+https://github.com/OCamlPro/ocplib-endian.git"
url {
  src: "https://github.com/OCamlPro/ocplib-endian/archive/1.1.tar.gz"
}