C library implementing the amazing MessagePack serialisation format.
There are a few exceptional alternative libraries listed at the end of this README. However, I wanted to have more control on how the serialisation is done mainly for performance reasons. In particular, I wanted to make it easy for the user to implement its own extension types with zero-copy writing and reading (Think about homogeneous-typed arrays.) The excellent CMP library, for example, has an old open issue on a related matter but its API would need to be heavily modified to allow it to happen.
- It currently works on MacOS and Linux and requires up-to-date compiler supporting C11 standard.
- I recommend for now copying the files from the
src/
directory into your project.
Clone it and enter the following commands:
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_ALL_WARNINGS=ON THREAD_SAFE_LEVEL=0 ..
make
make test
Please, consider raising an GitHub issue.
It is in alpha stage.
This project is licensed under the MIT License - see the LICENSE file for details.