I've recently made two new Cap'n Proto releases for OCaml:
This fixes a bug in schema compilation for interfaces that referred to other interfaces, migrates to a newer unsigned integer library, and fixes some compiler warnings on OCaml 4.08.
This adds a number of convenience functions for handling ref counting, saving and loading .cap files, and parsing command-line options. There are also a couple of breaking changes:
-
The library now wraps errors with a `Capnp tag to make it easier to compose with other types of error.
-
All command-line options have been prefixed with "capnp-". e.g. --listen-address is now --capnp-listen-address.
The old names were confusing for applications that supported other protocols too (e.g. a web server).
For more information, please see the instructions and tutorial at
https://github.com/mirage/capnp-rpc/blob/master/README.md.