opam-version: "2.0"
maintainer:   "Romain Calascibetta <romain.calascibetta@gmail.com>"
authors:      "Romain Calascibetta <romain.calascibetta@gmail.com>"
homepage:     "https://github.com/dinosaure/pecu"
bug-reports:  "https://github.com/dinosaure/pecu/issues"
dev-repo: "git+https://github.com/dinosaure/pecu.git"
doc:          "https://dinosaure.github.io/pecu/"
license:      "MIT"

build: [
  ["jbuilder" "subst" "-p" name] {pinned}
  ["jbuilder" "build" "-p" name "-j" jobs]
]

depends: [
  "ocaml" {>= "4.03.0"}
  "jbuilder"
  "fmt"
  "uutf"
  "rresult"
  "cmdliner"
]
synopsis: "Pecu (PQ/QP - Quoted Printable)"
description: """
Pecu is a little library to encode and decode quoted-printable according to
[RFC2045](https://tools.ietf.org/html/rfc2045) (§ 6.7). It provides a
non-blocking encoder/decoder and ensure to respect the 80 characters rule. It
provides a fuzzer which test isomorphism between encoder and decoder (and if we
respect correctly the 80 characters rule).

This project is a part of an encoder/decoder of e-mail.

Decoder can decode input which does not respect 80 characters rule but it
signals to the client if this case appear - which can be an attack entry point.
By this way, the decoder provide a best-effort case to the client."""
url {
  src:
    "https://github.com/dinosaure/pecu/releases/download/v0.1/pecu-0.1.tbz"
  checksum: "md5=86849ba4e1b6dc31076494f6a767e382"
}
