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.0.tar.gz
sha256=64b242cdad8b0f9ce9c86153e8e8d3e74bef9aa507d5e481c920d9154d3ab505

CHANGES.md.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.