package msgpck
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=945294366ef9774b9205398706b0dbf476e8c6eaf1fe6152f3ca731f840e5a42
md5=e5f2fc466454587727a64afa52329665
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: 19 May 2017
README
msgpck — msgpack library for OCaml
%%VERSION%%
msgpck is TODO
msgpck is distributed under the ISC license.
Homepage: https://github.com/vbmithr/ocaml-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 (3)
-
ocplib-endian
>= "1.0"
-
jbuilder
>= "1.0+beta8"
-
ocaml
>= "4.02.0"
Dev Dependencies
None
Used by (4)
- decoders-msgpck
-
ppx_protocol_conv
< "3.1.0"
-
ppx_protocol_conv_msgpack
< "5.2.0"
- wamp-msgpck
Conflicts
None