package msgpck
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=8b596b49081ef87841dc236139c434e1812ad61afca2dc79e3c61a571734a2f3
md5=4fa1a6fbfbf9927c34a14f3c55d8a278
Description
msgpck is written in pure OCaml.
MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON. But it's faster and smaller. Small integers are encoded into a single byte, and typical short strings require only one extra byte in addition to the strings themselves.
Published: 07 Mar 2017
README
msgpck — msgpack library for OCaml
%%VERSION%%
msgpck is TODO
msgpck is distributed under the ISC license.
Homepage: https://github.com/vbmithr/msgpck
Contact: Vincent Bernardoff <vb@luminar.eu.org>
Installation
msgpck can be installed with opam
:
opam install msgpck
If you don't use opam
consult the opam
file for build instructions.
Documentation
The documentation and API reference is automatically generated by ocamldoc
from the interfaces. It can be consulted online and there is a generated version in the doc
directory of the distribution.
Sample programs
If you installed msgpck with opam
sample programs are located in the directory opam config var msgpck:doc
.
In the distribution sample programs and tests are located in the test
directory of the distribution. They can be built with:
ocamlbuild -use-ocamlfind test/tests.otarget
The resulting binaries are in _build/test
.
test.native
tests the library, nothing should fail.
Dependencies (5)
-
ocplib-endian
>= "1.0"
-
topkg
build
-
ocamlbuild
build
-
ocamlfind
build
-
ocaml
>= "4.02.0"
Dev Dependencies
None
Used by (2)
-
ppx_protocol_conv
< "3.1.0"
- wamp-msgpck
Conflicts
None