forked from yesodweb/wai
-
Notifications
You must be signed in to change notification settings - Fork 1
/
warp.cabal
270 lines (257 loc) · 10.5 KB
/
warp.cabal
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
Name: warp
Version: 3.3.7
Synopsis: A fast, light-weight web server for WAI applications.
License: MIT
License-file: LICENSE
Author: Michael Snoyman, Kazu Yamamoto, Matt Brown
Maintainer: michael@snoyman.com
Homepage: http://github.com/yesodweb/wai
Category: Web, Yesod
Build-Type: Simple
Cabal-Version: >= 1.10
Stability: Stable
description: HTTP\/1.0, HTTP\/1.1 and HTTP\/2 are supported.
For HTTP\/2, Warp supports direct and ALPN (in TLS)
but not upgrade.
API docs and the README are available at
<http://www.stackage.org/package/warp>.
extra-source-files: attic/hex
ChangeLog.md
README.md
test/head-response
test/inputFile
Flag network-bytestring
Default: False
Flag allow-sendfilefd
Description: Allow use of sendfileFd (not available on GNU/kFreeBSD)
Default: True
Flag warp-debug
Description: print debug output. not suitable for production
Default: False
Library
Build-Depends: base >= 4.8 && < 5
, array
, async
, auto-update >= 0.1.3 && < 0.2
, bsb-http-chunked < 0.1
, bytestring >= 0.9.1.4
, case-insensitive >= 0.2
, containers
, ghc-prim
, hashable
, http-date
, http-types >= 0.12
, http2 >= 2.0 && < 2.1
, iproute >= 1.3.1
, simple-sendfile >= 0.2.7 && < 0.3
, stm >= 2.3
, streaming-commons >= 0.1.10
, text
, time-manager
, unix-compat >= 0.2
, vault >= 0.3
, wai >= 3.2 && < 3.3
, word8
, x509
if impl(ghc < 8)
Build-Depends: semigroups
if flag(network-bytestring)
Build-Depends: network >= 2.2.1.5 && < 2.2.3
, network-bytestring >= 0.1.3 && < 0.1.4
else
Build-Depends: network >= 2.3
Exposed-modules: Network.Wai.Handler.Warp
Network.Wai.Handler.Warp.Internal
Other-modules: Network.Wai.Handler.Warp.Buffer
Network.Wai.Handler.Warp.Conduit
Network.Wai.Handler.Warp.Counter
Network.Wai.Handler.Warp.Date
Network.Wai.Handler.Warp.FdCache
Network.Wai.Handler.Warp.File
Network.Wai.Handler.Warp.FileInfoCache
Network.Wai.Handler.Warp.HashMap
Network.Wai.Handler.Warp.HTTP2
Network.Wai.Handler.Warp.HTTP2.File
Network.Wai.Handler.Warp.HTTP2.PushPromise
Network.Wai.Handler.Warp.HTTP2.Request
Network.Wai.Handler.Warp.HTTP2.Response
Network.Wai.Handler.Warp.HTTP2.Types
Network.Wai.Handler.Warp.Header
Network.Wai.Handler.Warp.IO
Network.Wai.Handler.Warp.Imports
Network.Wai.Handler.Warp.PackInt
Network.Wai.Handler.Warp.ReadInt
Network.Wai.Handler.Warp.Recv
Network.Wai.Handler.Warp.Request
Network.Wai.Handler.Warp.RequestHeader
Network.Wai.Handler.Warp.Response
Network.Wai.Handler.Warp.ResponseHeader
Network.Wai.Handler.Warp.Run
Network.Wai.Handler.Warp.SendFile
Network.Wai.Handler.Warp.Settings
Network.Wai.Handler.Warp.Types
Network.Wai.Handler.Warp.Windows
Network.Wai.Handler.Warp.WithApplication
Paths_warp
Ghc-Options: -Wall
if flag(warp-debug)
Cpp-Options: -DWARP_DEBUG
if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
Cpp-Options: -DSENDFILEFD
if os(windows)
Cpp-Options: -DWINDOWS
Build-Depends: time
else
Build-Depends: unix
Other-modules: Network.Wai.Handler.Warp.MultiMap
if impl(ghc >= 8)
Default-Extensions: Strict StrictData
Default-Language: Haskell2010
Test-Suite doctest
buildable: False
Type: exitcode-stdio-1.0
HS-Source-Dirs: test
Ghc-Options: -threaded -Wall
Main-Is: doctests.hs
Build-Depends: base >= 4.8 && < 5
, doctest >= 0.10.1
if os(windows)
Buildable: False
if impl(ghc >= 8)
Default-Extensions: Strict StrictData
Default-Language: Haskell2010
Test-Suite spec
Main-Is: Spec.hs
Other-modules: BufferPoolSpec
ConduitSpec
ExceptionSpec
FdCacheSpec
FileSpec
ReadIntSpec
RequestSpec
ResponseHeaderSpec
ResponseSpec
RunSpec
SendFileSpec
WithApplicationSpec
HTTP
Network.Wai.Handler.Warp
Network.Wai.Handler.Warp.Buffer
Network.Wai.Handler.Warp.Conduit
Network.Wai.Handler.Warp.Counter
Network.Wai.Handler.Warp.Date
Network.Wai.Handler.Warp.FdCache
Network.Wai.Handler.Warp.File
Network.Wai.Handler.Warp.FileInfoCache
Network.Wai.Handler.Warp.HTTP2
Network.Wai.Handler.Warp.HTTP2.File
Network.Wai.Handler.Warp.HTTP2.PushPromise
Network.Wai.Handler.Warp.HTTP2.Request
Network.Wai.Handler.Warp.HTTP2.Response
Network.Wai.Handler.Warp.HTTP2.Types
Network.Wai.Handler.Warp.HashMap
Network.Wai.Handler.Warp.Header
Network.Wai.Handler.Warp.IO
Network.Wai.Handler.Warp.Imports
Network.Wai.Handler.Warp.MultiMap
Network.Wai.Handler.Warp.PackInt
Network.Wai.Handler.Warp.ReadInt
Network.Wai.Handler.Warp.Recv
Network.Wai.Handler.Warp.Request
Network.Wai.Handler.Warp.RequestHeader
Network.Wai.Handler.Warp.Response
Network.Wai.Handler.Warp.ResponseHeader
Network.Wai.Handler.Warp.Run
Network.Wai.Handler.Warp.SendFile
Network.Wai.Handler.Warp.Settings
Network.Wai.Handler.Warp.Types
Network.Wai.Handler.Warp.Windows
Network.Wai.Handler.Warp.WithApplication
Paths_warp
Hs-Source-Dirs: test, .
Type: exitcode-stdio-1.0
Ghc-Options: -Wall -threaded
Build-Depends: base >= 4.8 && < 5
, HUnit
, QuickCheck
, array
, async
, auto-update
, bsb-http-chunked < 0.1
, bytestring >= 0.9.1.4
, case-insensitive >= 0.2
, containers
, directory
, ghc-prim
, hashable
, hspec >= 1.3
, http-client
, http-date
, http-types >= 0.12
, http2 >= 2.0 && < 2.1
, iproute >= 1.3.1
, lifted-base >= 0.1
, network
, process
, simple-sendfile >= 0.2.4 && < 0.3
, stm >= 2.3
, streaming-commons >= 0.1.10
, text
, time
, time-manager
, unix-compat >= 0.2
, vault
, wai >= 3.2 && < 3.3
, word8
, x509
-- Build-Tool-Depends: hspec-discover:hspec-discover
if impl(ghc < 8)
Build-Depends: semigroups
, transformers
if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
Cpp-Options: -DSENDFILEFD
Build-Depends: unix
if os(windows)
Cpp-Options: -DWINDOWS
Build-Depends: time
if impl(ghc >= 8)
Default-Extensions: Strict StrictData
Default-Language: Haskell2010
Benchmark parser
Type: exitcode-stdio-1.0
Main-Is: Parser.hs
other-modules: Network.Wai.Handler.Warp.Date
Network.Wai.Handler.Warp.FdCache
Network.Wai.Handler.Warp.FileInfoCache
Network.Wai.Handler.Warp.HashMap
Network.Wai.Handler.Warp.Imports
Network.Wai.Handler.Warp.MultiMap
Network.Wai.Handler.Warp.Types
HS-Source-Dirs: bench .
Build-Depends: base >= 4.8 && < 5
, auto-update
, bytestring
, containers
, gauge
, hashable
, http-date
, http-types
, network
, network
, time-manager
, unix-compat
, x509
if impl(ghc < 8)
Build-Depends: semigroups
if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
Cpp-Options: -DSENDFILEFD
Build-Depends: unix
if os(windows)
Cpp-Options: -DWINDOWS
Build-Depends: time
if impl(ghc >= 8)
Default-Extensions: Strict StrictData
Default-Language: Haskell2010
Source-Repository head
Type: git
Location: git://github.com/yesodweb/wai.git