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