forked from mirage/ocaml-cohttp
/
_oasis
271 lines (237 loc) · 8.11 KB
/
_oasis
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
OASISFormat: 0.3
Name: cohttp
Version: 0.12.0
Synopsis: HTTP library for Lwt, Async and Mirage
Authors: Anil Madhavapeddy, Stefano Zacchiroli, David Sheets, Thomas Gazagnaire, David Scott, Rudi Grinberg
License: ISC
Plugins: META (0.3)
BuildTools: ocamlbuild
Library cohttp
Path: cohttp
Findlibname: cohttp
Pack: true
Modules: S, Code, Header, Cookie, Request, Response, Transfer, Accept, Accept_parser,
Accept_lexer, Accept_types, Base64, Auth, Header_io, Transfer_io, Connection, Body
BuildDepends: re.emacs, stringext, uri (>= 1.3.13), uri.services, fieldslib, fieldslib.syntax, sexplib, sexplib.syntax
XMETARequires: re.emacs, stringext, uri, uri.services, fieldslib, sexplib
Flag lwt
Description: build the Lwt library
Default: false
Flag lwt_unix
Description: build the Lwt-unix library
Default: false
Flag async
Description: build the Core/Async library
Default: false
Flag js
Description: build the Javascript XHR client library
Default: false
Flag nettests
Description: run the internet-using tests
Default: false
Library cohttp_lwt
Build$: flag(lwt)
Install$: flag(lwt)
Path: lwt
Findlibname: lwt-core
FindlibParent: cohttp
BuildDepends: lwt, uri, cohttp, lwt.syntax
XMETARequires: lwt, uri, cohttp
Modules: Cohttp_lwt_body, Cohttp_lwt
Library cohttp_lwt_unix
Build$: flag(lwt_unix)
Install$: flag(lwt_unix)
Path: lwt
Findlibname: lwt
FindlibParent: cohttp
BuildDepends: cohttp.lwt-core, unix, lwt.unix, lwt.ssl, conduit.lwt
XMETARequires: cohttp.lwt-core, unix, lwt.unix, lwt.ssl, conduit.lwt
Modules: Cohttp_lwt_unix_io, Cohttp_lwt_unix, Cohttp_lwt_unix_net
Library cohttp_lwt_xhr
Build$: flag(lwt) && flag(js)
Install$: flag(lwt) && flag(js)
Path: js
Findlibname: js
FindlibParent: cohttp
BuildDepends: cohttp.lwt-core, js_of_ocaml, js_of_ocaml.syntax
XMETARequires: cohttp.lwt-core, js_of_ocaml
Modules: Cohttp_lwt_xhr
Library cohttp_async
Build$: flag(async)
Install$: flag(async)
Path: async
Findlibname: async
FindlibParent: cohttp
BuildDepends: uri, cohttp, threads, async, conduit.async
Modules: Cohttp_async_io, Cohttp_async
Document cohttp
Title: Cohttp docs
Type: ocamlbuild (0.3)
BuildTools+: ocamldoc
Install: true
XOCamlbuildPath: cohttp
XOCamlbuildLibraries: cohttp
Document cohttp_lwt_unix
Title: Cohttp Lwt UNIX docs
Type: ocamlbuild (0.3)
BuildTools+: ocamldoc
Build$: flag(lwt_unix)
Install: true
XOCamlbuildPath: lwt
XOCamlbuildLibraries: cohttp.lwt
Document cohttp_async
Title: Cohttp Async docs
Type: ocamlbuild (0.3)
BuildTools+: ocamldoc
Build$: flag(async)
Install: true
XOCamlbuildPath: async
XOCamlbuildLibraries: cohttp.async
Executable test_parser
Path: lib_test
MainIs: test_parser.ml
Build$: flag(tests) && flag(lwt_unix)
Custom: true
CompiledObject: best
Install: false
BuildDepends: cohttp, cohttp.lwt, oUnit (>= 1.0.2)
Executable test_accept
Path: lib_test
MainIs: test_accept.ml
Build$: flag(tests)
Custom: true
CompiledObject: best
Install: false
BuildDepends: cohttp, oUnit (>= 1.0.2)
Executable test_header
Path: lib_test
MainIs: test_header.ml
Build$: flag(tests)
Custom: true
CompiledObject: best
Install: false
BuildDepends: cohttp, oUnit (>= 1.0.2)
Executable test_net_lwt
Path: lib_test
MainIs: test_net_lwt.ml
Build$: flag(tests) && flag(lwt_unix)
Custom: true
CompiledObject: best
Install: false
BuildDepends: cohttp, cohttp.lwt, oUnit (>= 1.0.2)
Executable test_net_lwt_google
Path: lib_test
MainIs: test_net_lwt_google.ml
Build$: flag(tests) && flag(lwt_unix)
Custom: true
CompiledObject: best
Install: false
BuildDepends: cohttp.lwt
Executable test_net_lwt_lastminute
Path: lib_test
MainIs: test_net_lwt_lastminute.ml
Build$: flag(tests) && flag(lwt_unix)
Custom: true
CompiledObject: best
Install: false
BuildDepends: cohttp.lwt
Executable test_net_lwt_server
Path: lib_test
MainIs: test_net_lwt_server.ml
Build$: flag(tests) && flag(lwt_unix)
Custom: true
CompiledObject: best
Install: false
BuildDepends: cohttp, cohttp.lwt
Executable test_net_lwt_multi_get
Path: lib_test
MainIs: test_net_lwt_multi_get.ml
Build$: flag(tests) && flag(lwt_unix)
Custom: true
CompiledObject: best
Install: false
BuildDepends: cohttp, cohttp.lwt
Executable test_net_lwt_client_and_server
Path: lib_test
MainIs: test_net_lwt_client_and_server.ml
Build$: flag(tests) && flag(lwt_unix)
Custom: true
CompiledObject: best
Install: false
BuildDepends: cohttp, cohttp.lwt
Executable test_net_async
Path: lib_test
MainIs: test_net_async.ml
Build$: flag(tests) && flag(async)
Custom: true
CompiledObject: best
Install: false
BuildDepends: cohttp, cohttp.async, oUnit (>= 1.0.2)
Executable test_net_async_http10
Path: lib_test
MainIs: test_net_async_http10.ml
Build$: flag(tests) && flag(async)
Custom: true
CompiledObject: best
Install: false
BuildDepends: cohttp, cohttp.async, oUnit (>= 1.0.2)
Executable test_net_async_multi_get
Path: lib_test
MainIs: test_net_async_multi_get.ml
Build$: flag(tests) && flag(async)
Custom: true
CompiledObject: best
Install: false
BuildDepends: cohttp, cohttp.async, oUnit (>= 1.0.2)
Executable test_net_async_server
Path: lib_test
MainIs: test_net_async_server.ml
Build$: flag(tests) && flag(async)
Custom: true
CompiledObject: best
Install: false
BuildDepends: cohttp, cohttp.async, oUnit (>= 1.0.2)
Executable "cohttp-server-async"
Path: bin
MainIs: cohttp_server_async.ml
Build$: flag(async)
Custom: true
CompiledObject: best
Install: true
BuildDepends: cohttp, cohttp.async
Executable "cohttp-server-lwt"
Path: bin
MainIs: cohttp_server_lwt.ml
Build$: flag(lwt) && flag(lwt_unix)
Custom: true
CompiledObject: best
Install: true
BuildDepends: cohttp, cohttp.lwt
Executable "async-hello-world"
Path: examples/async
MainIs: hello_world.ml
Build$: flag(async)
Custom: true
CompiledObject: best
Install: false
BuildDepends: cohttp, cohttp.async
Test test_accept
Run$: flag(tests)
Command: $test_accept
WorkingDirectory: lib_test
Test test_header
Run$: flag(tests)
Command: $test_header
WorkingDirectory: lib_test
Test test_parser
Run$: flag(tests) && flag(lwt_unix)
Command: $test_parser
WorkingDirectory: lib_test
Test test_net_lwt
Run$: flag(nettests) && flag(lwt_unix)
Command: $test_net_lwt
WorkingDirectory: lib_test
Test test_net_async
Run$: flag(nettests) && flag(async)
Command: $test_net_async
WorkingDirectory: lib_test