on wai-handler-launch/3.0.2.1 help sign in
typeable/wai/warp/warp.cabal
207 lines 8.1 kB history raw
1Name: warp
2Version: 3.2.7
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
23Flag network-bytestring
24 Default: False
26Flag allow-sendfilefd
27 Description: Allow use of sendfileFd (not available on GNU/kFreeBSD)
28 Default: True
30Flag warp-debug
31 Description: print debug output. not suitable for production
32 Default: False
34Library
35 Build-Depends: base >= 3 && < 5
36 , array
37 , async
38 , auto-update >= 0.1.3 && < 0.2
39 , blaze-builder >= 0.4
40 , bytestring >= 0.9.1.4
41 , bytestring-builder
42 , case-insensitive >= 0.2
43 , containers
44 , ghc-prim
45 , http-types >= 0.8.5
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 flag(network-bytestring)
59 Build-Depends: network >= 2.2.1.5 && < 2.2.3
60 , network-bytestring >= 0.1.3 && < 0.1.4
61 else
62 Build-Depends: network >= 2.3
63 Exposed-modules: Network.Wai.Handler.Warp
64 Network.Wai.Handler.Warp.Internal
65 Other-modules: Network.Wai.Handler.Warp.Buffer
66 Network.Wai.Handler.Warp.Conduit
67 Network.Wai.Handler.Warp.Counter
68 Network.Wai.Handler.Warp.Date
69 Network.Wai.Handler.Warp.FdCache
70 Network.Wai.Handler.Warp.File
71 Network.Wai.Handler.Warp.FileInfoCache
72 Network.Wai.Handler.Warp.HashMap
73 Network.Wai.Handler.Warp.HTTP2
74 Network.Wai.Handler.Warp.HTTP2.EncodeFrame
75 Network.Wai.Handler.Warp.HTTP2.File
76 Network.Wai.Handler.Warp.HTTP2.HPACK
77 Network.Wai.Handler.Warp.HTTP2.Manager
78 Network.Wai.Handler.Warp.HTTP2.Receiver
79 Network.Wai.Handler.Warp.HTTP2.Request
80 Network.Wai.Handler.Warp.HTTP2.Sender
81 Network.Wai.Handler.Warp.HTTP2.Types
82 Network.Wai.Handler.Warp.HTTP2.Worker
83 Network.Wai.Handler.Warp.Header
84 Network.Wai.Handler.Warp.IO
85 Network.Wai.Handler.Warp.IORef
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.Some
97 Network.Wai.Handler.Warp.Timeout
98 Network.Wai.Handler.Warp.Types
99 Network.Wai.Handler.Warp.Windows
100 Network.Wai.Handler.Warp.WithApplication
101 Paths_warp
102 Ghc-Options: -Wall
104 if flag(warp-debug)
105 Cpp-Options: -DWARP_DEBUG
106 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
107 Cpp-Options: -DSENDFILEFD
108 if os(windows)
109 Cpp-Options: -DWINDOWS
110 Build-Depends: time
111 else
112 Build-Depends: unix
113 Other-modules: Network.Wai.Handler.Warp.MultiMap
115Test-Suite doctest
116 Type: exitcode-stdio-1.0
117 HS-Source-Dirs: test
118 Ghc-Options: -threaded -Wall
119 Main-Is: doctests.hs
120 Build-Depends: base
121 , doctest >= 0.10.1
123Test-Suite spec
124 Main-Is: Spec.hs
125 Other-modules: BufferPoolSpec
126 ConduitSpec
127 ExceptionSpec
128 FdCacheSpec
129 FileSpec
130 ReadIntSpec
131 RequestSpec
132 ResponseHeaderSpec
133 ResponseSpec
134 RunSpec
135 SendFileSpec
136 WithApplicationSpec
137 HTTP
138 Hs-Source-Dirs: test, .
139 Type: exitcode-stdio-1.0
141 Ghc-Options: -Wall
142 Build-Depends: base >= 4 && < 5
143 , array
144 , auto-update
145 , blaze-builder >= 0.4
146 , bytestring >= 0.9.1.4
147 , bytestring-builder
148 , case-insensitive >= 0.2
149 , ghc-prim
150 , HTTP
151 , http-types >= 0.8.5
152 , iproute >= 1.3.1
153 , lifted-base >= 0.1
154 , simple-sendfile >= 0.2.4 && < 0.3
155 , transformers >= 0.2.2
156 , unix-compat >= 0.2
157 , wai >= 3.2 && < 3.3
158 , network
159 , HUnit
160 , QuickCheck
161 , hspec >= 1.3
162 , time
163 , text
164 , streaming-commons >= 0.1.10
165 , silently
166 , async
167 , vault
168 , stm >= 2.3
169 , directory
170 , process
171 , containers
172 , http2 >= 1.6 && < 1.7
173 , word8
174 , hashable
175 , http-date
177 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
178 Cpp-Options: -DSENDFILEFD
179 Build-Depends: unix
180 if os(windows)
181 Cpp-Options: -DWINDOWS
183Benchmark parser
184 Type: exitcode-stdio-1.0
185 Main-Is: Parser.hs
186 HS-Source-Dirs: bench .
187 Build-Depends: base
188 , auto-update
189 , bytestring
190 , containers
191 , criterion >= 1
192 , hashable
193 , http-date
194 , http-types
195 , network
196 , network
197 , unix-compat
199 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
200 Cpp-Options: -DSENDFILEFD
201 Build-Depends: unix
202 if os(windows)
203 Cpp-Options: -DWINDOWS
205Source-Repository head
206 Type: git
207 Location: git://github.com/yesodweb/wai.git