I am happy to announce the first release of ocaml-protoc-plugin.
The library implements the full proto3 specification, and aims to generate ocaml idiomatic bindings to protobuf types/mesages defined in
- Messages are mapped to modules, with a type
- Enums are mapped to ADT’s
- Oneof types are mapped to polymorphic variants
All types are serialized using the proto3 specification (i.e. all repeated scalar types are packed).
All parts (package, service definitions, includes etc.) are supported.
The library is available through opam:
opam install ocaml-protoc-plugin.
For more information, please visit the homepage of ocaml-protoc-plugin at: https://github.com/issuu/ocaml-protoc-plugin/
Comments and suggestions are more than welcome.