package prettym

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

Install

Dune Dependency

Authors

Maintainers

Sources

prettym-0.0.3.tbz
sha256=9170f1a11ade7f4d98a584a5be52bb6b91415f971c6e75894331b46b18b98f09
sha512=ccb5985daedfb6cae74192090644e81c525df3e0653bb06492f836ca4291275d3ce75079237574200ecab8dacf62304521592d4baebbe4b0d17277b5e200c6a8

Description

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

Published: 07 Apr 2022

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 (6)

  1. bigstringaf >= "0.2"
  2. ke >= "0.4"
  3. fmt >= "0.8.7"
  4. bigarray-overlap
  5. dune >= "2.8"
  6. ocaml >= "4.08.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.