ocaml http/1, http/2 and websocket client and server library
1(lang dune 3.20)
2
3(name hcs)
4
5(version 0.3.3)
6
7(generate_opam_files true)
8
9(source
10 ; (tangled @gdiazlo.tngl.sh/hcs)
11 (uri git+https://tangled.org/gdiazlo.tngl.sh/hcs))
12
13(authors "Gabriel Díaz")
14
15(maintainers "Gabriel Díaz")
16
17(license ISC)
18(homepage https://tangled.org/gdiazlo.tngl.sh/hcs)
19(bug_reports https://tangled.org/gdiazlo.tngl.sh/hcs/issues)
20(documentation https://tangled.org/gdiazlo.tngl.sh/hcs)
21
22(package
23 (name hcs)
24 (synopsis "Eio based HTTP client/server library for OCaml 5+")
25 (description
26 "HCS is a HTTP client/server library for OCaml 5+ supporting HTTP/1.1, HTTP/2, and WebSocket. Built on Eio.")
27 (depends
28 (ocaml (>= 5.4))
29 (dune (>= 3.20))
30 (eio (>= 1.2))
31 (eio_main (>= 1.2))
32 (h1 (>= 1.0))
33 (h2 (>= 0.13))
34 (tls (>= 2.0))
35 (tls-eio (>= 2.0))
36 (ca-certs (>= 1.0))
37 (x509 (>= 1.0))
38 (mirage-crypto-rng (>= 1.0))
39 (uri (>= 4.4))
40 (ptime (>= 1.2))
41 (cstruct (>= 6.2))
42 (digestif (>= 1.2))
43 (base64 (>= 3.5))
44 (bigstringaf (>= 0.10))
45 (faraday (>= 0.8))
46 (kcas (>= 0.7))
47 (kcas_data (>= 0.7))
48 (bytesrw (>= 0.3))
49 (conf-zlib :build)
50 (conf-zstd :build)
51 (http-multipart-formdata (>= 3.0))
52 (climate (>= 0.6))
53 (alcotest (and (>= 1.9) :with-test))
54 (qcheck (and (>= 0.21) :with-test))
55 (qcheck-alcotest (and (>= 0.21) :with-test))
56 (yojson :with-test)))