on wai-extra/3.0.14.3 help sign in
typeable/wai/warp/warp.cabal
194 lines 7.6 kB history raw
1Name: warp
2Version: 3.2.3
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.5 && < 1.6
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.HPACK
76 Network.Wai.Handler.Warp.HTTP2.Manager
77 Network.Wai.Handler.Warp.HTTP2.Receiver
78 Network.Wai.Handler.Warp.HTTP2.Request
79 Network.Wai.Handler.Warp.HTTP2.Sender
80 Network.Wai.Handler.Warp.HTTP2.Types
81 Network.Wai.Handler.Warp.HTTP2.Worker
82 Network.Wai.Handler.Warp.Header
83 Network.Wai.Handler.Warp.IO
84 Network.Wai.Handler.Warp.IORef
85 Network.Wai.Handler.Warp.ReadInt
86 Network.Wai.Handler.Warp.Recv
87 Network.Wai.Handler.Warp.Request
88 Network.Wai.Handler.Warp.RequestHeader
89 Network.Wai.Handler.Warp.Response
90 Network.Wai.Handler.Warp.ResponseHeader
91 Network.Wai.Handler.Warp.Run
92 Network.Wai.Handler.Warp.SendFile
93 Network.Wai.Handler.Warp.Settings
94 Network.Wai.Handler.Warp.Timeout
95 Network.Wai.Handler.Warp.Types
96 Network.Wai.Handler.Warp.Windows
97 Network.Wai.Handler.Warp.WithApplication
98 Paths_warp
99 Ghc-Options: -Wall
101 if flag(warp-debug)
102 Cpp-Options: -DWARP_DEBUG
103 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
104 Cpp-Options: -DSENDFILEFD
105 if os(windows)
106 Cpp-Options: -DWINDOWS
107 Build-Depends: time
108 else
109 Build-Depends: unix
110 Other-modules: Network.Wai.Handler.Warp.MultiMap
112Test-Suite doctest
113 Type: exitcode-stdio-1.0
114 HS-Source-Dirs: test
115 Ghc-Options: -threaded -Wall
116 Main-Is: doctests.hs
117 Build-Depends: base
118 , doctest >= 0.10.1
120Test-Suite spec
121 Main-Is: Spec.hs
122 Other-modules: BufferPoolSpec
123 ConduitSpec
124 ExceptionSpec
125 FdCacheSpec
126 FileSpec
127 MultiMapSpec
128 ReadIntSpec
129 RequestSpec
130 ResponseHeaderSpec
131 ResponseSpec
132 RunSpec
133 SendFileSpec
134 WithApplicationSpec
135 HTTP
136 Hs-Source-Dirs: test, .
137 Type: exitcode-stdio-1.0
139 Ghc-Options: -Wall
140 Build-Depends: base >= 4 && < 5
141 , array
142 , auto-update
143 , blaze-builder >= 0.4
144 , bytestring >= 0.9.1.4
145 , bytestring-builder
146 , case-insensitive >= 0.2
147 , ghc-prim
148 , HTTP
149 , http-types >= 0.8.5
150 , iproute >= 1.3.1
151 , lifted-base >= 0.1
152 , simple-sendfile >= 0.2.4 && < 0.3
153 , transformers >= 0.2.2
154 , unix-compat >= 0.2
155 , wai >= 3.2 && < 3.3
156 , network
157 , HUnit
158 , QuickCheck
159 , hspec >= 1.3
160 , time
161 , text
162 , streaming-commons >= 0.1.10
163 , silently
164 , async
165 , vault
166 , stm >= 2.3
167 , directory
168 , process
169 , containers
170 , http2 >= 1.5 && < 1.6
171 , word8
172 , hashable
173 , http-date
175 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
176 Cpp-Options: -DSENDFILEFD
177 Build-Depends: unix
178 if os(windows)
179 Cpp-Options: -DWINDOWS
181Benchmark parser
182 Type: exitcode-stdio-1.0
183 Main-Is: Parser.hs
184 HS-Source-Dirs: bench .
185 Build-Depends: base
186 , bytestring
187 , criterion
188 , http-types
189 , network
190 , network
192Source-Repository head
193 Type: git
194 Location: git://github.com/yesodweb/wai.git