on wai-extra/3.0.4.5 help sign in
typeable/wai/warp/warp.cabal
181 lines 6.6 kB history raw
1Name: warp
2Version: 3.0.9.2
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: API docs and the README are available at <http://www.stackage.org/package/warp>.
14extra-source-files: attic/hex
15 ChangeLog.md
16 README.md
18Flag network-bytestring
19 Default: False
21Flag allow-sendfilefd
22 Description: Allow use of sendfileFd (not available on GNU/kFreeBSD)
23 Default: True
25Flag warp-debug
26 Description: print debug output. not suitable for production
27 Default: False
29Flag use-bytestring-builder
30 description: Use bytestring-builder package
31 default: False
33Flag run-doctests
34 description: Run the doctests as part of testing
35 default: False
37Library
38 Build-Depends: base >= 3 && < 5
39 , array
40 , auto-update >= 0.1.1 && < 0.2
41 , blaze-builder >= 0.3.3 && < 0.5
42 , bytestring >= 0.9.1.4
43 , case-insensitive >= 0.2
44 , ghc-prim
45 , http-types >= 0.8.5
46 , iproute >= 1.3.1
47 , simple-sendfile >= 0.2.7 && < 0.3
48 , unix-compat >= 0.2
49 , void
50 , wai >= 3.0 && < 3.1
51 , text
52 , streaming-commons >= 0.1.10
53 if flag(network-bytestring)
54 Build-Depends: network >= 2.2.1.5 && < 2.2.3
55 , network-bytestring >= 0.1.3 && < 0.1.4
56 else
57 Build-Depends: network >= 2.3
58 if flag(use-bytestring-builder)
59 Build-Depends: bytestring < 0.10.2.0
60 , bytestring-builder
61 else
62 Build-Depends: bytestring >= 0.10.2.0
63 Exposed-modules: Network.Wai.Handler.Warp
64 Network.Wai.Handler.Warp.Buffer
65 Network.Wai.Handler.Warp.Timeout
66 Network.Wai.Handler.Warp.Internal
67 Other-modules: Network.Wai.Handler.Warp.Conduit
68 Network.Wai.Handler.Warp.Counter
69 Network.Wai.Handler.Warp.Date
70 Network.Wai.Handler.Warp.FdCache
71 Network.Wai.Handler.Warp.Header
72 Network.Wai.Handler.Warp.IO
73 Network.Wai.Handler.Warp.IORef
74 Network.Wai.Handler.Warp.ReadInt
75 Network.Wai.Handler.Warp.Recv
76 Network.Wai.Handler.Warp.Request
77 Network.Wai.Handler.Warp.RequestHeader
78 Network.Wai.Handler.Warp.Response
79 Network.Wai.Handler.Warp.ResponseHeader
80 Network.Wai.Handler.Warp.Run
81 Network.Wai.Handler.Warp.SendFile
82 Network.Wai.Handler.Warp.Settings
83 Network.Wai.Handler.Warp.Types
84 Network.Wai.Handler.Warp.Windows
85 Paths_warp
86 Ghc-Options: -Wall
88 if flag(warp-debug)
89 Cpp-Options: -DWARP_DEBUG
90 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
91 Cpp-Options: -DSENDFILEFD
92 Build-Depends: hashable
93 Other-modules: Network.Wai.Handler.Warp.MultiMap
94 if os(windows)
95 Cpp-Options: -DWINDOWS
96 Build-Depends: time
97 , old-locale
98 else
99 Build-Depends: unix
100 , http-date
102Test-Suite doctest
103 Type: exitcode-stdio-1.0
104 HS-Source-Dirs: test
105 Ghc-Options: -threaded -Wall
106 Main-Is: doctests.hs
107 if flag(run-doctests)
108 buildable: True
109 Build-Depends: base
110 , doctest >= 0.9.3
111 else
112 buildable: False
114Test-Suite spec
115 Main-Is: Spec.hs
116 Other-modules: ConduitSpec
117 ExceptionSpec
118 FdCacheSpec
119 MultiMapSpec
120 ReadIntSpec
121 RequestSpec
122 ResponseHeaderSpec
123 ResponseSpec
124 RunSpec
125 Hs-Source-Dirs: test, .
126 Type: exitcode-stdio-1.0
128 Ghc-Options: -Wall
129 Build-Depends: base >= 4 && < 5
130 , array
131 , auto-update
132 , blaze-builder >= 0.3.3 && < 0.5
133 , bytestring >= 0.9.1.4
134 , case-insensitive >= 0.2
135 , ghc-prim
136 , HTTP
137 , http-types >= 0.8.4
138 , iproute >= 1.3.1
139 , lifted-base >= 0.1
140 , simple-sendfile >= 0.2.4 && < 0.3
141 , transformers >= 0.2.2
142 , unix-compat >= 0.2
143 , void
144 , wai
145 , network
146 , HUnit
147 , QuickCheck
148 , hspec >= 1.3
149 , time
150 , old-locale
151 , text
152 , streaming-commons >= 0.1.10
153 , async
154 if flag(use-bytestring-builder)
155 Build-Depends: bytestring < 0.10.2.0
156 , bytestring-builder
157 else
158 Build-Depends: bytestring >= 0.10.2.0
160 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
161 Cpp-Options: -DSENDFILEFD
162 Build-Depends: unix
163 , hashable
164 , http-date
165 if os(windows)
166 Cpp-Options: -DWINDOWS
168Benchmark parser
169 Type: exitcode-stdio-1.0
170 Main-Is: Parser.hs
171 HS-Source-Dirs: bench .
172 Build-Depends: base
173 , bytestring
174 , criterion
175 , http-types
176 , network
177 , network
179Source-Repository head
180 Type: git
181 Location: git://github.com/yesodweb/wai.git