on wai-handler-fastcgi/3.0.0.2 help sign in
typeable/wai/warp/warp.cabal
190 lines 7.5 kB history raw
1Name: warp
2Version: 3.2.0
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 , auto-update >= 0.1.3 && < 0.2
38 , blaze-builder >= 0.4
39 , bytestring >= 0.9.1.4
40 , bytestring-builder
41 , case-insensitive >= 0.2
42 , containers
43 , ghc-prim
44 , http-types >= 0.8.5
45 , iproute >= 1.3.1
46 , http2 >= 1.4 && < 1.5
47 , simple-sendfile >= 0.2.7 && < 0.3
48 , unix-compat >= 0.2
49 , wai >= 3.2 && < 3.3
50 , text
51 , streaming-commons >= 0.1.10
52 , vault >= 0.3
53 , stm >= 2.3
54 , word8
55 , hashable
56 , http-date
57 if flag(network-bytestring)
58 Build-Depends: network >= 2.2.1.5 && < 2.2.3
59 , network-bytestring >= 0.1.3 && < 0.1.4
60 else
61 Build-Depends: network >= 2.3
62 Exposed-modules: Network.Wai.Handler.Warp
63 Network.Wai.Handler.Warp.Internal
64 Other-modules: Network.Wai.Handler.Warp.Buffer
65 Network.Wai.Handler.Warp.Conduit
66 Network.Wai.Handler.Warp.Counter
67 Network.Wai.Handler.Warp.Date
68 Network.Wai.Handler.Warp.FdCache
69 Network.Wai.Handler.Warp.File
70 Network.Wai.Handler.Warp.FileInfoCache
71 Network.Wai.Handler.Warp.HashMap
72 Network.Wai.Handler.Warp.HTTP2
73 Network.Wai.Handler.Warp.HTTP2.EncodeFrame
74 Network.Wai.Handler.Warp.HTTP2.HPACK
75 Network.Wai.Handler.Warp.HTTP2.Manager
76 Network.Wai.Handler.Warp.HTTP2.Receiver
77 Network.Wai.Handler.Warp.HTTP2.Request
78 Network.Wai.Handler.Warp.HTTP2.Sender
79 Network.Wai.Handler.Warp.HTTP2.Types
80 Network.Wai.Handler.Warp.HTTP2.Worker
81 Network.Wai.Handler.Warp.Header
82 Network.Wai.Handler.Warp.IO
83 Network.Wai.Handler.Warp.IORef
84 Network.Wai.Handler.Warp.ReadInt
85 Network.Wai.Handler.Warp.Recv
86 Network.Wai.Handler.Warp.Request
87 Network.Wai.Handler.Warp.RequestHeader
88 Network.Wai.Handler.Warp.Response
89 Network.Wai.Handler.Warp.ResponseHeader
90 Network.Wai.Handler.Warp.Run
91 Network.Wai.Handler.Warp.SendFile
92 Network.Wai.Handler.Warp.Settings
93 Network.Wai.Handler.Warp.Timeout
94 Network.Wai.Handler.Warp.Types
95 Network.Wai.Handler.Warp.Windows
96 Paths_warp
97 Ghc-Options: -Wall
99 if flag(warp-debug)
100 Cpp-Options: -DWARP_DEBUG
101 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
102 Cpp-Options: -DSENDFILEFD
103 if os(windows)
104 Cpp-Options: -DWINDOWS
105 Build-Depends: time
106 else
107 Build-Depends: unix
108 Other-modules: Network.Wai.Handler.Warp.MultiMap
110Test-Suite doctest
111 Type: exitcode-stdio-1.0
112 HS-Source-Dirs: test
113 Ghc-Options: -threaded -Wall
114 Main-Is: doctests.hs
115 Build-Depends: base
116 , doctest >= 0.10.1
118Test-Suite spec
119 Main-Is: Spec.hs
120 Other-modules: BufferPoolSpec
121 ConduitSpec
122 ExceptionSpec
123 FdCacheSpec
124 FileSpec
125 MultiMapSpec
126 ReadIntSpec
127 RequestSpec
128 ResponseHeaderSpec
129 ResponseSpec
130 RunSpec
131 SendFileSpec
132 HTTP
133 Hs-Source-Dirs: test, .
134 Type: exitcode-stdio-1.0
136 Ghc-Options: -Wall
137 Build-Depends: base >= 4 && < 5
138 , array
139 , auto-update
140 , blaze-builder >= 0.4
141 , bytestring >= 0.9.1.4
142 , bytestring-builder
143 , case-insensitive >= 0.2
144 , ghc-prim
145 , HTTP
146 , http-types >= 0.8.5
147 , iproute >= 1.3.1
148 , lifted-base >= 0.1
149 , simple-sendfile >= 0.2.4 && < 0.3
150 , transformers >= 0.2.2
151 , unix-compat >= 0.2
152 , wai >= 3.2 && < 3.3
153 , network
154 , HUnit
155 , QuickCheck
156 , hspec >= 1.3
157 , time
158 , text
159 , streaming-commons >= 0.1.10
160 , async
161 , vault
162 , stm >= 2.3
163 , directory
164 , process
165 , containers
166 , http2 >= 1.4 && < 1.5
167 , word8
168 , hashable
169 , http-date
171 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
172 Cpp-Options: -DSENDFILEFD
173 Build-Depends: unix
174 if os(windows)
175 Cpp-Options: -DWINDOWS
177Benchmark parser
178 Type: exitcode-stdio-1.0
179 Main-Is: Parser.hs
180 HS-Source-Dirs: bench .
181 Build-Depends: base
182 , bytestring
183 , criterion
184 , http-types
185 , network
186 , network
188Source-Repository head
189 Type: git
190 Location: git://github.com/yesodweb/wai.git