OASISFormat: 0.3
Name:        ocplib-endian
Version:     0.5
Synopsis:    Optimised functions to read and write int16/32/64 from strings and
  bigarrays
Authors:     Pierre Chambart
License:     LGPL-2.1 with OCaml linking exception
Plugins:     DevFiles (0.3), META (0.3)
BuildTools:  ocamlbuild

Library ocplib_endian
  Path:       src
  Modules:
    EndianString
  FindlibName: ocplib-endian
  BuildDepends: optcomp
  XMETARequires:

Library bigstring
  Path:       src
  Modules:
    EndianBigstring
  FindlibName: bigstring
  FindlibParent: ocplib_endian
  BuildDepends: bigarray, optcomp
  XMETARequires: bigarray

Executable test
  Path: tests
  Build$: flag(tests)
  Install: false
  CompiledObject: best
  MainIs: test.ml
  BuildDepends: ocplib-endian, ocplib-endian.bigstring

Executable benchmark
  Path: tests
  Build$: flag(tests)
  Install: false
  CompiledObject: best
  MainIs: bench.ml
  BuildDepends: ocplib-endian, ocplib-endian.bigstring

Test test
  Command: $test
  TestTools: test
  Run$: flag(tests)

# +-------------------------------------------------------------------+
# | Misc                                                              |
# +-------------------------------------------------------------------+

SourceRepository head
  Type: git
  Location: https://github.com/OCamlPro/ocplib-endian.git
  Browser: https://github.com/OCamlPro/ocplib-endian
