opam-version: "2.0"
authors: ["Simon Cruanes"]
maintainer: "simon.cruanes.2007@m4x.org"
license: "MIT"
synopsis: "Minimal HTTP server using good old threads"
build: [
  ["dune" "build" "@install" "-p" name "-j" jobs]
  ["dune" "build" "@doc" "-p" name] {with-doc}
  ["dune" "runtest" "-p" name] {with-test}
]
depends: [
  "dune" { >= "1.1" } # for now, since qtest needs old dune
  "base-threads"
  "ocaml" { >= "4.03.0" }
  "odoc" {with-doc}
  "qtest" { >= "2.9" & with-test}
  "qcheck" {with-test & < "0.14"}
]
tags: [ "http" "thread" "server" "tiny_httpd" "http_of_dir" "simplehttpserver" ]
homepage: "https://github.com/c-cube/tiny_httpd/"
doc: "https://c-cube.github.io/tiny_httpd/"
bug-reports: "https://github.com/c-cube/tiny_httpd/issues"
dev-repo: "git+https://github.com/c-cube/tiny_httpd.git"
post-messages: "tiny http server, with blocking IOs. Also ships with a `http_of_dir` program."
url {
  src: "https://github.com/c-cube/tiny_httpd/archive/0.5.tar.gz"
  checksum: [
    "md5=ec765816f75858c075863b7f508c5e9c"
    "sha512=8ca296f551808762855c0ff0ef18b8509c5f4a5b76795d25c13d266139823d71d991d6fd66b09ddf869ad36612e0f879b2a3f516626dcc00cc7b28f4165e02be"
  ]
}
