on warp-3.2.24 help sign in
typeable/wai/warp/warp.cabal
258 lines 11 kB history raw
1Name: warp
2Version: 3.2.24
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
124Test-Suite spec
125 Main-Is: Spec.hs
126 Other-modules: BufferPoolSpec
127 ConduitSpec
128 ExceptionSpec
129 FdCacheSpec
130 FileSpec
131 ReadIntSpec
132 RequestSpec
133 ResponseHeaderSpec
134 ResponseSpec
135 RunSpec
136 SendFileSpec
137 WithApplicationSpec
138 HTTP
139 Network.Wai.Handler.Warp
140 Network.Wai.Handler.Warp.Buffer
141 Network.Wai.Handler.Warp.Conduit
142 Network.Wai.Handler.Warp.Counter
143 Network.Wai.Handler.Warp.Date
144 Network.Wai.Handler.Warp.FdCache
145 Network.Wai.Handler.Warp.File
146 Network.Wai.Handler.Warp.FileInfoCache
147 Network.Wai.Handler.Warp.HTTP2
148 Network.Wai.Handler.Warp.HTTP2.EncodeFrame
149 Network.Wai.Handler.Warp.HTTP2.File
150 Network.Wai.Handler.Warp.HTTP2.HPACK
151 Network.Wai.Handler.Warp.HTTP2.Manager
152 Network.Wai.Handler.Warp.HTTP2.Receiver
153 Network.Wai.Handler.Warp.HTTP2.Request
154 Network.Wai.Handler.Warp.HTTP2.Sender
155 Network.Wai.Handler.Warp.HTTP2.Types
156 Network.Wai.Handler.Warp.HTTP2.Worker
157 Network.Wai.Handler.Warp.HashMap
158 Network.Wai.Handler.Warp.Header
159 Network.Wai.Handler.Warp.IO
160 Network.Wai.Handler.Warp.Imports
161 Network.Wai.Handler.Warp.MultiMap
162 Network.Wai.Handler.Warp.PackInt
163 Network.Wai.Handler.Warp.ReadInt
164 Network.Wai.Handler.Warp.Recv
165 Network.Wai.Handler.Warp.Request
166 Network.Wai.Handler.Warp.RequestHeader
167 Network.Wai.Handler.Warp.Response
168 Network.Wai.Handler.Warp.ResponseHeader
169 Network.Wai.Handler.Warp.Run
170 Network.Wai.Handler.Warp.SendFile
171 Network.Wai.Handler.Warp.Settings
172 Network.Wai.Handler.Warp.Timeout
173 Network.Wai.Handler.Warp.Types
174 Network.Wai.Handler.Warp.WithApplication
175 Paths_warp
177 Hs-Source-Dirs: test, .
178 Type: exitcode-stdio-1.0
180 Ghc-Options: -Wall
181 Build-Depends: base >= 4.8 && < 5
182 , array
183 , auto-update
184 , bsb-http-chunked < 0.1
185 , bytestring >= 0.9.1.4
186 , case-insensitive >= 0.2
187 , ghc-prim
188 , http-client
189 , http-types >= 0.8.5
190 , iproute >= 1.3.1
191 , lifted-base >= 0.1
192 , simple-sendfile >= 0.2.4 && < 0.3
193 , transformers >= 0.2.2
194 , unix-compat >= 0.2
195 , wai >= 3.2 && < 3.3
196 , network
197 , HUnit
198 , QuickCheck
199 , hspec >= 1.3
200 , time
201 , text
202 , streaming-commons >= 0.1.10
203 , silently
204 , async
205 , vault
206 , stm >= 2.3
207 , directory
208 , process
209 , containers
210 , http2 >= 1.6 && < 1.7
211 , word8
212 , hashable
213 , http-date
214 -- Build-Tool-Depends: hspec-discover:hspec-discover
215 if impl(ghc < 8)
216 Build-Depends: semigroups
218 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
219 Cpp-Options: -DSENDFILEFD
220 Build-Depends: unix
221 if os(windows)
222 Cpp-Options: -DWINDOWS
224Benchmark parser
225 Type: exitcode-stdio-1.0
226 Main-Is: Parser.hs
227 other-modules: Network.Wai.Handler.Warp.Date
228 Network.Wai.Handler.Warp.FdCache
229 Network.Wai.Handler.Warp.FileInfoCache
230 Network.Wai.Handler.Warp.HashMap
231 Network.Wai.Handler.Warp.Imports
232 Network.Wai.Handler.Warp.MultiMap
233 Network.Wai.Handler.Warp.Timeout
234 Network.Wai.Handler.Warp.Types
235 HS-Source-Dirs: bench .
236 Build-Depends: base >= 4.8 && < 5
237 , auto-update
238 , bytestring
239 , containers
240 , gauge
241 , hashable
242 , http-date
243 , http-types
244 , network
245 , network
246 , unix-compat
247 if impl(ghc < 8)
248 Build-Depends: semigroups
250 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
251 Cpp-Options: -DSENDFILEFD
252 Build-Depends: unix
253 if os(windows)
254 Cpp-Options: -DWINDOWS
256Source-Repository head
257 Type: git
258 Location: git://github.com/yesodweb/wai.git