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