on warp-3.2.27 help sign in
typeable/wai/warp/warp.cabal
262 lines 11 kB history raw
1Name: warp
2Version: 3.2.27
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.8
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 , http-types >= 0.9.1
46 , iproute >= 1.3.1
47 , http2 >= 1.6 && < 1.7
48 , simple-sendfile >= 0.2.7 && < 0.3
49 , unix-compat >= 0.2
50 , wai >= 3.2 && < 3.3
51 , text
52 , streaming-commons >= 0.1.10
53 , vault >= 0.3
54 , stm >= 2.3
55 , word8
56 , hashable
57 , http-date
58 if impl(ghc < 8)
59 Build-Depends: semigroups
60 if flag(network-bytestring)
61 Build-Depends: network >= 2.2.1.5 && < 2.2.3
62 , network-bytestring >= 0.1.3 && < 0.1.4
63 else
64 Build-Depends: network >= 2.3
65 Exposed-modules: Network.Wai.Handler.Warp
66 Network.Wai.Handler.Warp.Internal
67 Other-modules: Network.Wai.Handler.Warp.Buffer
68 Network.Wai.Handler.Warp.Conduit
69 Network.Wai.Handler.Warp.Counter
70 Network.Wai.Handler.Warp.Date
71 Network.Wai.Handler.Warp.FdCache
72 Network.Wai.Handler.Warp.File
73 Network.Wai.Handler.Warp.FileInfoCache
74 Network.Wai.Handler.Warp.HashMap
75 Network.Wai.Handler.Warp.HTTP2
76 Network.Wai.Handler.Warp.HTTP2.EncodeFrame
77 Network.Wai.Handler.Warp.HTTP2.File
78 Network.Wai.Handler.Warp.HTTP2.HPACK
79 Network.Wai.Handler.Warp.HTTP2.Manager
80 Network.Wai.Handler.Warp.HTTP2.Receiver
81 Network.Wai.Handler.Warp.HTTP2.Request
82 Network.Wai.Handler.Warp.HTTP2.Sender
83 Network.Wai.Handler.Warp.HTTP2.Types
84 Network.Wai.Handler.Warp.HTTP2.Worker
85 Network.Wai.Handler.Warp.Header
86 Network.Wai.Handler.Warp.IO
87 Network.Wai.Handler.Warp.Imports
88 Network.Wai.Handler.Warp.PackInt
89 Network.Wai.Handler.Warp.ReadInt
90 Network.Wai.Handler.Warp.Recv
91 Network.Wai.Handler.Warp.Request
92 Network.Wai.Handler.Warp.RequestHeader
93 Network.Wai.Handler.Warp.Response
94 Network.Wai.Handler.Warp.ResponseHeader
95 Network.Wai.Handler.Warp.Run
96 Network.Wai.Handler.Warp.SendFile
97 Network.Wai.Handler.Warp.Settings
98 Network.Wai.Handler.Warp.Timeout
99 Network.Wai.Handler.Warp.Types
100 Network.Wai.Handler.Warp.Windows
101 Network.Wai.Handler.Warp.WithApplication
102 Paths_warp
103 Ghc-Options: -Wall
105 if flag(warp-debug)
106 Cpp-Options: -DWARP_DEBUG
107 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
108 Cpp-Options: -DSENDFILEFD
109 if os(windows)
110 Cpp-Options: -DWINDOWS
111 Build-Depends: time
112 else
113 Build-Depends: unix
114 Other-modules: Network.Wai.Handler.Warp.MultiMap
116Test-Suite doctest
117 Type: exitcode-stdio-1.0
118 HS-Source-Dirs: test
119 Ghc-Options: -threaded -Wall
120 Main-Is: doctests.hs
121 Build-Depends: base >= 4.8 && < 5
122 , doctest >= 0.10.1
123 if os(windows)
124 Buildable: False
126Test-Suite spec
127 Main-Is: Spec.hs
128 Other-modules: BufferPoolSpec
129 ConduitSpec
130 ExceptionSpec
131 FdCacheSpec
132 FileSpec
133 ReadIntSpec
134 RequestSpec
135 ResponseHeaderSpec
136 ResponseSpec
137 RunSpec
138 SendFileSpec
139 WithApplicationSpec
140 HTTP
141 Network.Wai.Handler.Warp
142 Network.Wai.Handler.Warp.Buffer
143 Network.Wai.Handler.Warp.Conduit
144 Network.Wai.Handler.Warp.Counter
145 Network.Wai.Handler.Warp.Date
146 Network.Wai.Handler.Warp.FdCache
147 Network.Wai.Handler.Warp.File
148 Network.Wai.Handler.Warp.FileInfoCache
149 Network.Wai.Handler.Warp.HTTP2
150 Network.Wai.Handler.Warp.HTTP2.EncodeFrame
151 Network.Wai.Handler.Warp.HTTP2.File
152 Network.Wai.Handler.Warp.HTTP2.HPACK
153 Network.Wai.Handler.Warp.HTTP2.Manager
154 Network.Wai.Handler.Warp.HTTP2.Receiver
155 Network.Wai.Handler.Warp.HTTP2.Request
156 Network.Wai.Handler.Warp.HTTP2.Sender
157 Network.Wai.Handler.Warp.HTTP2.Types
158 Network.Wai.Handler.Warp.HTTP2.Worker
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.Timeout
175 Network.Wai.Handler.Warp.Types
176 Network.Wai.Handler.Warp.Windows
177 Network.Wai.Handler.Warp.WithApplication
178 Paths_warp
180 Hs-Source-Dirs: test, .
181 Type: exitcode-stdio-1.0
183 Ghc-Options: -Wall
184 Build-Depends: base >= 4.8 && < 5
185 , array
186 , auto-update
187 , bsb-http-chunked < 0.1
188 , bytestring >= 0.9.1.4
189 , case-insensitive >= 0.2
190 , ghc-prim
191 , http-client
192 , http-types >= 0.8.5
193 , iproute >= 1.3.1
194 , lifted-base >= 0.1
195 , simple-sendfile >= 0.2.4 && < 0.3
196 , transformers >= 0.2.2
197 , unix-compat >= 0.2
198 , wai >= 3.2 && < 3.3
199 , network
200 , HUnit
201 , QuickCheck
202 , hspec >= 1.3
203 , time
204 , text
205 , streaming-commons >= 0.1.10
206 , async
207 , vault
208 , stm >= 2.3
209 , directory
210 , process
211 , containers
212 , http2 >= 1.6 && < 1.7
213 , word8
214 , hashable
215 , http-date
216 -- Build-Tool-Depends: hspec-discover:hspec-discover
217 if impl(ghc < 8)
218 Build-Depends: semigroups
220 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
221 Cpp-Options: -DSENDFILEFD
222 Build-Depends: unix
223 if os(windows)
224 Cpp-Options: -DWINDOWS
225 Build-Depends: time
227Benchmark parser
228 Type: exitcode-stdio-1.0
229 Main-Is: Parser.hs
230 other-modules: Network.Wai.Handler.Warp.Date
231 Network.Wai.Handler.Warp.FdCache
232 Network.Wai.Handler.Warp.FileInfoCache
233 Network.Wai.Handler.Warp.HashMap
234 Network.Wai.Handler.Warp.Imports
235 Network.Wai.Handler.Warp.MultiMap
236 Network.Wai.Handler.Warp.Timeout
237 Network.Wai.Handler.Warp.Types
238 HS-Source-Dirs: bench .
239 Build-Depends: base >= 4.8 && < 5
240 , auto-update
241 , bytestring
242 , containers
243 , gauge
244 , hashable
245 , http-date
246 , http-types
247 , network
248 , network
249 , unix-compat
250 if impl(ghc < 8)
251 Build-Depends: semigroups
253 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
254 Cpp-Options: -DSENDFILEFD
255 Build-Depends: unix
256 if os(windows)
257 Cpp-Options: -DWINDOWS
258 Build-Depends: time
260Source-Repository head
261 Type: git
262 Location: git://github.com/yesodweb/wai.git