-
Notifications
You must be signed in to change notification settings - Fork 31
/
dune-project
137 lines (121 loc) · 3.27 KB
/
dune-project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
(lang dune 2.7)
(name h2)
(formatting
(enabled_for ocaml))
(generate_opam_files true)
(source
(github anmonteiro/ocaml-h2))
(authors "Antonio Nuno Monteiro <[email protected]>")
(maintainers "Antonio Nuno Monteiro <[email protected]>")
(homepage "https://github.com/anmonteiro/ocaml-h2")
(bug_reports "https://github.com/anmonteiro/ocaml-h2/issues")
(license "BSD-3-clause")
(package
(name hpack)
(synopsis
"An HPACK (Header Compression for HTTP/2) implementation in OCaml")
(description
"hpack is an implementation of the HPACK: Header Compression for HTTP/2 specification (RFC7541) written in OCaml. It uses Angstrom and Faraday for parsing and serialization, respectively.")
(depends
(ocaml
(>= "4.08.0"))
angstrom
(faraday
(>= "0.7.3"))
(yojson :with-test)
(hex :with-test)))
(package
(name h2)
(synopsis
"A high-performance, memory-efficient, and scalable HTTP/2 library for OCaml")
(description
"h2 is an implementation of the HTTP/2 specification entirely in OCaml. It is based on the concepts in httpun, and therefore uses the Angstrom and Faraday libraries to implement the parsing and serialization layers of the HTTP/2 standard as a state machine that is agnostic to the underlying I/O specifics. It also preserves the same API as httpun wherever possible.")
(depends
(ocaml
(>= "4.08.0"))
(base64
(>= "3.0.0"))
(angstrom
(>= "0.14.0"))
(faraday
(>= "0.7.3"))
(bigstringaf
(>= "0.5.0"))
psq
(hpack
(= :version))
httpun-types
(alcotest :with-test)
(yojson :with-test)
(hex :with-test)))
(package
(name h2-lwt)
(synopsis "Lwt support for h2")
(description
"h2 is an implementation of the HTTP/2 specification entirely in OCaml. h2-lwt provides an Lwt runtime implementation for h2.")
(depends
(ocaml
(>= "4.08.0"))
(h2
(= :version))
(lwt
(>= "5.1.1"))
(gluten-lwt
(>= "0.2.1"))))
(package
(name h2-mirage)
(synopsis "Lwt support for h2")
(description
"h2 is an implementation of the HTTP/2 specification entirely in OCaml. h2-mirage provides an Lwt runtime implementation for h2 that targets MirageOS unikernels.")
(depends
(ocaml
(>= "4.08.0"))
(h2-lwt
(= :version))
faraday-lwt
lwt
(gluten-mirage
(>= "0.3.0"))
(mirage-flow
(>= "2.0.0"))
cstruct))
(package
(name h2-lwt-unix)
(synopsis "Lwt + UNIX support for h2")
(description
"h2 is an implementation of the HTTP/2 specification entirely in OCaml. h2-lwt-unix provides an Lwt runtime implementation for h2 that targets UNIX binaries.")
(depends
(ocaml
(>= "4.08.0"))
(h2-lwt
(= :version))
faraday-lwt-unix
(gluten-lwt-unix
(>= "0.2.1")))
(depopts tls-lwt lwt_ssl))
(package
(name h2-async)
(synopsis "Async support for h2")
(description
"h2 is an implementation of the HTTP/2 specification entirely in OCaml. h2-async provides an Async runtime implementation for h2.")
(depends
(ocaml
(>= "4.08.0"))
(h2
(= :version))
faraday-async
(gluten-async
(>= "0.4.0")))
(depopts async_ssl tls-async))
(package
(name h2-eio)
(synopsis "EIO support for h2")
(description
"h2 is an implementation of the HTTP/2 specification entirely in OCaml. h2-eio provides an EIO runtime implementation for h2.")
(depends
(ocaml
(>= "4.08.0"))
(h2
(= :version))
(gluten-eio
(>= "0.5.0"))))