opam-version: "2.0"

synopsis: "Internal: shared HTTP types for Dream (server) and Hyper (client)"
description: "This package does not have a stable API."

license: "MIT"
homepage: "https://github.com/aantron/dream"
doc: "https://aantron.github.io/dream"
bug-reports: "https://github.com/aantron/dream/issues"
dev-repo: "git+https://github.com/aantron/dream.git"
maintainer: "Anton Bachin <antonbachin@yahoo.com>"

depends: [
  "base64" {>= "3.1.0"}  # Base64.encode_string.
  "bigstringaf" {>= "0.5.0"}  # Bigstringaf.to_string.
  "dune" {>= "2.7.0"}  # --instrument-with.
  "hmap"
  "lwt"
  "lwt_ppx" {>= "1.2.2"}
  "ocaml" {>= "4.08.0"}
  "ptime" {>= "0.8.1"}  # Ptime.weekday.
  "uri" {>= "4.2.0"}

  # Testing, development.
  "alcotest" {with-test}
  "bisect_ppx" {with-test & >= "2.5.0"}  # --instrument-with.
  "ppx_expect" {with-test}
  "ppx_yojson_conv" {with-test}
]

build: [
  ["dune" "build" "-p" name "-j" jobs]
]

url {
  src:
    "https://github.com/aantron/dream/releases/download/1.0.0-alpha4/dream-1.0.0-alpha4.tar.gz"
  checksum: [
    "sha256=a143b3694d67c0089ea16ce4585971d6333f05001abcadcede6696b06ca6af10"
    "md5=20aaa93b13c210324e9dcceeba3c3b21"
  ]
}
authors: "Anton Bachin <antonbachin@yahoo.com>"
