package ocaml-protoc

  1. Overview
  2. Docs
Protobuf compiler for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

2.4.0.tar.gz
md5=8a294e86c6202b8ec8016e71d19264cb
sha512=67020bef50b59c6590c1b25d85a75d6e19d6cd37d42b87c94aef798bff51a45f38fe7024b4c67d71c22c13d3f2776bec83acd77794a518f1c4a7eddfc30b6d0b

CHANGES.md.html

2.4

  • expose compiler library as ocaml-protoc.compiler-lib

  • option to differentiate unsigned arg from signed arguments, taggings uint32/64 with `unsigned

internal changes:

  • fix(test): change integration test, protoc produces broken C++ code

  • automatic generation of gh-pages

  • add basic CI

  • use ocamlformat

2.3

  • allow optional in proto3 files

  • improve compatibility with OCaml 5

2.2

  • handle stream as a name (#179)

  • support hexadecimal notation for integers

  • improve generated pretty printers

  • move to dune 2.0

  • rename runtime library to pbrt, with a separate opam package

  • print bytes opaquely

2.1

  • perf: nested buffer to reduce allocations for nested messages

  • perf: improvements in runtime library, varint encoding/decoding, add benchmarks

  • Update docs/tests to reflect that sfixed is supported

  • add clear/reset to the encoder

  • Add ability to parse stream modifier

2.0.3

  • parsing of services