on warp-3.3.9-conn-closed-by-pear help sign in
typeable/wai/warp/warp.cabal
270 lines 11 kB history raw
1Name: warp
2Version: 3.3.9
3Synopsis: A fast, light-weight web server for WAI applications.
4License: MIT
5License-file: LICENSE
6Author: Michael Snoyman, Kazu Yamamoto, Matt Brown
7Maintainer: michael@snoyman.com
8Homepage: http://github.com/yesodweb/wai
9Category: Web, Yesod
10Build-Type: Simple
11Cabal-Version: >= 1.10
12Stability: Stable
13description: HTTP\/1.0, HTTP\/1.1 and HTTP\/2 are supported.
14 For HTTP\/2, Warp supports direct and ALPN (in TLS)
15 but not upgrade.
16 API docs and the README are available at
17 <http://www.stackage.org/package/warp>.
18extra-source-files: attic/hex
19 ChangeLog.md
20 README.md
21 test/head-response
22 test/inputFile
24Flag network-bytestring
25 Default: False
27Flag allow-sendfilefd
28 Description: Allow use of sendfileFd (not available on GNU/kFreeBSD)
29 Default: True
31Flag warp-debug
32 Description: print debug output. not suitable for production
33 Default: False
35Library
36 Build-Depends: base >= 4.8 && < 5
37 , array
38 , async
39 , auto-update >= 0.1.3 && < 0.2
40 , bsb-http-chunked < 0.1
41 , bytestring >= 0.9.1.4
42 , case-insensitive >= 0.2
43 , containers
44 , ghc-prim
45 , hashable
46 , http-date
47 , http-types >= 0.12
48 , http2 >= 2.0 && < 2.1
49 , iproute >= 1.3.1
50 , simple-sendfile >= 0.2.7 && < 0.3
51 , stm >= 2.3
52 , streaming-commons >= 0.1.10
53 , text
54 , time-manager
55 , unix-compat >= 0.2
56 , vault >= 0.3
57 , wai >= 3.2 && < 3.3
58 , word8
59 , x509
60 if impl(ghc < 8)
61 Build-Depends: semigroups
62 if flag(network-bytestring)
63 Build-Depends: network >= 2.2.1.5 && < 2.2.3
64 , network-bytestring >= 0.1.3 && < 0.1.4
65 else
66 Build-Depends: network >= 2.3
67 Exposed-modules: Network.Wai.Handler.Warp
68 Network.Wai.Handler.Warp.Internal
69 Other-modules: Network.Wai.Handler.Warp.Buffer
70 Network.Wai.Handler.Warp.Conduit
71 Network.Wai.Handler.Warp.Counter
72 Network.Wai.Handler.Warp.Date
73 Network.Wai.Handler.Warp.FdCache
74 Network.Wai.Handler.Warp.File
75 Network.Wai.Handler.Warp.FileInfoCache
76 Network.Wai.Handler.Warp.HashMap
77 Network.Wai.Handler.Warp.HTTP2
78 Network.Wai.Handler.Warp.HTTP2.File
79 Network.Wai.Handler.Warp.HTTP2.PushPromise
80 Network.Wai.Handler.Warp.HTTP2.Request
81 Network.Wai.Handler.Warp.HTTP2.Response
82 Network.Wai.Handler.Warp.HTTP2.Types
83 Network.Wai.Handler.Warp.Header
84 Network.Wai.Handler.Warp.IO
85 Network.Wai.Handler.Warp.Imports
86 Network.Wai.Handler.Warp.PackInt
87 Network.Wai.Handler.Warp.ReadInt
88 Network.Wai.Handler.Warp.Recv
89 Network.Wai.Handler.Warp.Request
90 Network.Wai.Handler.Warp.RequestHeader
91 Network.Wai.Handler.Warp.Response
92 Network.Wai.Handler.Warp.ResponseHeader
93 Network.Wai.Handler.Warp.Run
94 Network.Wai.Handler.Warp.SendFile
95 Network.Wai.Handler.Warp.Settings
96 Network.Wai.Handler.Warp.Types
97 Network.Wai.Handler.Warp.Windows
98 Network.Wai.Handler.Warp.WithApplication
99 Paths_warp
100 Ghc-Options: -Wall
102 if flag(warp-debug)
103 Cpp-Options: -DWARP_DEBUG
104 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
105 Cpp-Options: -DSENDFILEFD
106 if os(windows)
107 Cpp-Options: -DWINDOWS
108 Build-Depends: time
109 else
110 Build-Depends: unix
111 Other-modules: Network.Wai.Handler.Warp.MultiMap
112 if impl(ghc >= 8)
113 Default-Extensions: Strict StrictData
114 Default-Language: Haskell2010
116Test-Suite doctest
117 buildable: False
118 Type: exitcode-stdio-1.0
119 HS-Source-Dirs: test
120 Ghc-Options: -threaded -Wall
121 Main-Is: doctests.hs
122 Build-Depends: base >= 4.8 && < 5
123 , doctest >= 0.10.1
124 if os(windows)
125 Buildable: False
126 if impl(ghc >= 8)
127 Default-Extensions: Strict StrictData
128 Default-Language: Haskell2010
130Test-Suite spec
131 Main-Is: Spec.hs
132 Other-modules: BufferPoolSpec
133 ConduitSpec
134 ExceptionSpec
135 FdCacheSpec
136 FileSpec
137 ReadIntSpec
138 RequestSpec
139 ResponseHeaderSpec
140 ResponseSpec
141 RunSpec
142 SendFileSpec
143 WithApplicationSpec
144 HTTP
145 Network.Wai.Handler.Warp
146 Network.Wai.Handler.Warp.Buffer
147 Network.Wai.Handler.Warp.Conduit
148 Network.Wai.Handler.Warp.Counter
149 Network.Wai.Handler.Warp.Date
150 Network.Wai.Handler.Warp.FdCache
151 Network.Wai.Handler.Warp.File
152 Network.Wai.Handler.Warp.FileInfoCache
153 Network.Wai.Handler.Warp.HTTP2
154 Network.Wai.Handler.Warp.HTTP2.File
155 Network.Wai.Handler.Warp.HTTP2.PushPromise
156 Network.Wai.Handler.Warp.HTTP2.Request
157 Network.Wai.Handler.Warp.HTTP2.Response
158 Network.Wai.Handler.Warp.HTTP2.Types
159 Network.Wai.Handler.Warp.HashMap
160 Network.Wai.Handler.Warp.Header
161 Network.Wai.Handler.Warp.IO
162 Network.Wai.Handler.Warp.Imports
163 Network.Wai.Handler.Warp.MultiMap
164 Network.Wai.Handler.Warp.PackInt
165 Network.Wai.Handler.Warp.ReadInt
166 Network.Wai.Handler.Warp.Recv
167 Network.Wai.Handler.Warp.Request
168 Network.Wai.Handler.Warp.RequestHeader
169 Network.Wai.Handler.Warp.Response
170 Network.Wai.Handler.Warp.ResponseHeader
171 Network.Wai.Handler.Warp.Run
172 Network.Wai.Handler.Warp.SendFile
173 Network.Wai.Handler.Warp.Settings
174 Network.Wai.Handler.Warp.Types
175 Network.Wai.Handler.Warp.Windows
176 Network.Wai.Handler.Warp.WithApplication
177 Paths_warp
179 Hs-Source-Dirs: test, .
180 Type: exitcode-stdio-1.0
182 Ghc-Options: -Wall -threaded
183 Build-Depends: base >= 4.8 && < 5
184 , HUnit
185 , QuickCheck
186 , array
187 , async
188 , auto-update
189 , bsb-http-chunked < 0.1
190 , bytestring >= 0.9.1.4
191 , case-insensitive >= 0.2
192 , containers
193 , directory
194 , ghc-prim
195 , hashable
196 , hspec >= 1.3
197 , http-client
198 , http-date
199 , http-types >= 0.12
200 , http2 >= 2.0 && < 2.1
201 , iproute >= 1.3.1
202 , lifted-base >= 0.1
203 , network
204 , process
205 , simple-sendfile >= 0.2.4 && < 0.3
206 , stm >= 2.3
207 , streaming-commons >= 0.1.10
208 , text
209 , time
210 , time-manager
211 , unix-compat >= 0.2
212 , vault
213 , wai >= 3.2 && < 3.3
214 , word8
215 , x509
216 -- Build-Tool-Depends: hspec-discover:hspec-discover
217 if impl(ghc < 8)
218 Build-Depends: semigroups
219 , transformers
221 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
222 Cpp-Options: -DSENDFILEFD
223 Build-Depends: unix
224 if os(windows)
225 Cpp-Options: -DWINDOWS
226 Build-Depends: time
227 if impl(ghc >= 8)
228 Default-Extensions: Strict StrictData
229 Default-Language: Haskell2010
231Benchmark parser
232 Type: exitcode-stdio-1.0
233 Main-Is: Parser.hs
234 other-modules: Network.Wai.Handler.Warp.Date
235 Network.Wai.Handler.Warp.FdCache
236 Network.Wai.Handler.Warp.FileInfoCache
237 Network.Wai.Handler.Warp.HashMap
238 Network.Wai.Handler.Warp.Imports
239 Network.Wai.Handler.Warp.MultiMap
240 Network.Wai.Handler.Warp.Types
241 HS-Source-Dirs: bench .
242 Build-Depends: base >= 4.8 && < 5
243 , auto-update
244 , bytestring
245 , containers
246 , gauge
247 , hashable
248 , http-date
249 , http-types
250 , network
251 , network
252 , time-manager
253 , unix-compat
254 , x509
255 if impl(ghc < 8)
256 Build-Depends: semigroups
258 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
259 Cpp-Options: -DSENDFILEFD
260 Build-Depends: unix
261 if os(windows)
262 Cpp-Options: -DWINDOWS
263 Build-Depends: time
264 if impl(ghc >= 8)
265 Default-Extensions: Strict StrictData
266 Default-Language: Haskell2010
268Source-Repository head
269 Type: git
270 Location: git://github.com/yesodweb/wai.git