package prettym

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

Install

Dune Dependency

Authors

Maintainers

Sources

prettym-0.0.1.tbz
sha256=4920decb20187df0a1f651e8d5abf456b341633adf3e7b23aa01adf28f6e95b4
sha512=bfefaaf5fcc01657c126a105c3a997428a5c82735f7576e120a5251e1e7c7eccbc0ecec1e750ba17d7a688fddea4474213299a25f6012e76dd6acf3ac4abc530

Description

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

Published: 21 Apr 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.

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.