ocaml http/1, http/2 and websocket client and server library
1# This file is generated by dune, edit dune-project instead
2opam-version: "2.0"
3version: "0.3.3"
4synopsis: "Eio based HTTP client/server library for OCaml 5+"
5description:
6 "HCS is a HTTP client/server library for OCaml 5+ supporting HTTP/1.1, HTTP/2, and WebSocket. Built on Eio."
7maintainer: ["Gabriel Díaz"]
8authors: ["Gabriel Díaz"]
9license: "ISC"
10homepage: "https://tangled.org/gdiazlo.tngl.sh/hcs"
11doc: "https://tangled.org/gdiazlo.tngl.sh/hcs"
12bug-reports: "https://tangled.org/gdiazlo.tngl.sh/hcs/issues"
13depends: [
14 "ocaml" {>= "5.4"}
15 "dune" {>= "3.20" & >= "3.20"}
16 "eio" {>= "1.2"}
17 "eio_main" {>= "1.2"}
18 "h1" {>= "1.0"}
19 "h2" {>= "0.13"}
20 "tls" {>= "2.0"}
21 "tls-eio" {>= "2.0"}
22 "ca-certs" {>= "1.0"}
23 "x509" {>= "1.0"}
24 "mirage-crypto-rng" {>= "1.0"}
25 "uri" {>= "4.4"}
26 "ptime" {>= "1.2"}
27 "cstruct" {>= "6.2"}
28 "digestif" {>= "1.2"}
29 "base64" {>= "3.5"}
30 "bigstringaf" {>= "0.10"}
31 "faraday" {>= "0.8"}
32 "kcas" {>= "0.7"}
33 "kcas_data" {>= "0.7"}
34 "bytesrw" {>= "0.3"}
35 "conf-zlib" {build}
36 "conf-zstd" {build}
37 "http-multipart-formdata" {>= "3.0"}
38 "climate" {>= "0.6"}
39 "alcotest" {>= "1.9" & with-test}
40 "qcheck" {>= "0.21" & with-test}
41 "qcheck-alcotest" {>= "0.21" & with-test}
42 "yojson" {with-test}
43 "odoc" {with-doc}
44]
45build: [
46 ["dune" "subst"] {dev}
47 [
48 "dune"
49 "build"
50 "-p"
51 name
52 "-j"
53 jobs
54 "@install"
55 "@runtest" {with-test}
56 "@doc" {with-doc}
57 ]
58]
59dev-repo: "git+https://tangled.org/gdiazlo.tngl.sh/hcs"
60x-maintenance-intent: ["(latest)"]