package ocaml-protoc

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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
OCaml

Innovation. Community. Security.