this repo has no description
1opam-version: "2.0"
2synopsis: "An OCaml library for HTTP clients and servers"
3description: """
4Cohttp is an OCaml library for creating HTTP daemons. It has a portable
5HTTP parser, and implementations using various asynchronous programming
6libraries.
7
8See the cohttp-async, cohttp-lwt, cohttp-lwt-unix, cohttp-lwt-jsoo and
9cohttp-mirage libraries for concrete implementations for particular
10targets.
11
12You can implement other targets using the parser very easily. Look at the `IO`
13signature in `lib/s.mli` and implement that in the desired backend.
14
15You can activate some runtime debugging by setting `COHTTP_DEBUG` to any
16value, and all requests and responses will be written to stderr. Further
17debugging of the connection layer can be obtained by setting `CONDUIT_DEBUG`
18to any value.
19"""
20maintainer: ["Anil Madhavapeddy <anil@recoil.org>"]
21authors: [
22 "Anil Madhavapeddy"
23 "Stefano Zacchiroli"
24 "David Sheets"
25 "Thomas Gazagnaire"
26 "David Scott"
27 "Rudi Grinberg"
28 "Andy Ray"
29 "Anurag Soni"
30]
31license: "ISC"
32homepage: "https://github.com/mirage/ocaml-cohttp"
33doc: "https://mirage.github.io/ocaml-cohttp/"
34bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
35depends: [
36 "dune" {>= "2.9"}
37 "http" {= version}
38 ("ocaml" {>= "4.08" & < "5.0"} | "ocaml" {>= "5.0"} & "base-bytes")
39 "re" {>= "1.9.0"}
40 "uri" {>= "2.0.0"}
41 "uri-sexp"
42 "sexplib0"
43 "ppx_sexp_conv" {>= "v0.13.0"}
44 "stringext"
45 "base64" {>= "3.1.0"}
46 "fmt" {with-test}
47 "alcotest" {with-test}
48 "odoc" {with-doc}
49]
50dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
51build: [
52 ["dune" "subst"] {dev}
53 [
54 "dune"
55 "build"
56 "-p"
57 name
58 "-j"
59 jobs
60 "--promote-install-files=false"
61 "@install"
62 "@cohttp/runtest" {with-test}
63 "@doc" {with-doc}
64 ]
65 ["dune" "install" "-p" name "--create-install-files" name]
66]
67available: opam-version >= "2.1.0"
68flags: [ avoid-version ]
69url {
70 src:
71 "https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha0/cohttp-eio-6.0.0.alpha0.tbz"
72 checksum: [
73 "sha256=2ed4acd5ea309ca064731ec9f02a4b4afcec1ab000f471da68ae81355130b56e"
74 "sha512=e741293352d8376eaf7ccc7ba986dc8fd33cc560b8a786d4b4f8cffde5f1d78651dd5dbb944db00e57a48f25bffdde8d6d7b8c5828605ed02f295c297ef87fdd"
75 ]
76}
77x-commit-hash: "ba9ca0791c3fd6242e28026feaa41fe4ac453089"