package ppx_bin_prot

  1. Overview
  2. Docs
Generation of bin_prot readers and writers from types

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.1.tar.gz
md5=17521ea48abfdb8d433f1f8822791289
sha512=b5fd4b5718a1486b3f6e5c3ae424a254e30776499ed1d64df7679b7d3f30c1155cfeff0abe29b1426a3b0b58a7bb1bb9fdfb04076bcd6be8ce093c882bae8bf7

doc/CHANGES.html

Release v0.17.0

  • Support sizing and writing locally-allocated values. This can be enabled by passing a flag to the deriver: [@@deriving bin_io ~localize].
  • Hide source code locations in test output to avoid noise when restyling etc.

Release v0.16.0

  • Several new expression forms are supported to derive the individual values defined by ppx_bin_prot.

    • [%bin_shape: t]
    • [%bin_digest: t]
    • [%bin_size: t]
    • [%bin_write: t]
    • [%bin_read: t]
    • [%bin_writer: t]
    • [%bin_reader: t]
    • [%bin_type_class: t]

Old pre-v0.15 changelogs (very likely stale and incomplete)

v0.11

Depend on ppxlib instead of (now deprecated) ppx_core, ppx_driver and ppx_type_conv.

113.43.00

  • use the new context-free API

113.24.01

  • Fix the META. ppx_bin_prot was not previously treated as a ppx_deriving plugin, which was causing problems

113.24.00

  • Minor changes, nothing worth mentionning.
OCaml

Innovation. Community. Security.