package prettym

  1. Overview
  2. Docs
An memory-bounded encoder according to RFC 822

Install

Dune Dependency

Authors

Maintainers

Sources

prettym-0.0.2.tbz
sha256=082b039dd83b0445d9873f49b778a54d1221d3dc8b8fa2680683e16a19fbc5b5
sha512=2e94e518e034fc7032cbc2b9e0632d3959ba7ae226eed5350e030dbe6d0898978fe6cbbd67e20dc860bd67e02df28955147211d190bf6215e11245c046fa048e

Description

A best effort memory-bounded encoder to respect the 80 column limitation

Published: 15 Oct 2021

README

Prettym, a bounded encoder with the colums constraint

prettym is a simple bounded encoder to serialize human readable values and respect the 80-column constraint. It permits to serialize values in the respect of RFC 822 and put fws token when necessary.

For example, a list of email addresses should fits under the 80 column for an email. The encoder should find the opportunity to add a line breaker plus a space to respect RFC 822.

Dependencies (7)

  1. bigarray-compat
  2. bigstringaf >= "0.2"
  3. ke >= "0.4"
  4. fmt >= "0.8.7"
  5. bigarray-overlap
  6. dune >= "2.8"
  7. ocaml >= "4.07.0"

Dev Dependencies (4)

  1. base64 with-test
  2. jsonm with-test
  3. alcotest with-test
  4. ptime with-test

Used by (3)

  1. mrmime >= "0.4.0"
  2. multipart_form >= "0.3.0"
  3. piaf >= "0.2.0"

Conflicts

None

OCaml

Innovation. Community. Security.