on wai-extra/3.0.7.1 help sign in
typeable/wai/warp/warp.cabal
175 lines 6.5 kB history raw
1Name: warp
2Version: 3.0.12
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 , void
46 , wai >= 3.0 && < 3.1
47 , text
48 , streaming-commons >= 0.1.10
49 , vault >= 0.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.Buffer
62 Network.Wai.Handler.Warp.Timeout
63 Network.Wai.Handler.Warp.Internal
64 Other-modules: 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.Header
69 Network.Wai.Handler.Warp.IO
70 Network.Wai.Handler.Warp.IORef
71 Network.Wai.Handler.Warp.ReadInt
72 Network.Wai.Handler.Warp.Recv
73 Network.Wai.Handler.Warp.Request
74 Network.Wai.Handler.Warp.RequestHeader
75 Network.Wai.Handler.Warp.Response
76 Network.Wai.Handler.Warp.ResponseHeader
77 Network.Wai.Handler.Warp.Run
78 Network.Wai.Handler.Warp.SendFile
79 Network.Wai.Handler.Warp.Settings
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 Hs-Source-Dirs: test, .
119 Type: exitcode-stdio-1.0
121 Ghc-Options: -Wall
122 Build-Depends: base >= 4 && < 5
123 , array
124 , auto-update
125 , blaze-builder >= 0.3.3 && < 0.5
126 , bytestring >= 0.9.1.4
127 , case-insensitive >= 0.2
128 , ghc-prim
129 , HTTP
130 , http-types >= 0.8.4
131 , iproute >= 1.3.1
132 , lifted-base >= 0.1
133 , simple-sendfile >= 0.2.4 && < 0.3
134 , transformers >= 0.2.2
135 , unix-compat >= 0.2
136 , void
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 if flag(use-bytestring-builder)
149 Build-Depends: bytestring < 0.10.2.0
150 , bytestring-builder
151 else
152 Build-Depends: bytestring >= 0.10.2.0
154 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
155 Cpp-Options: -DSENDFILEFD
156 Build-Depends: unix
157 , hashable
158 , http-date
159 if os(windows)
160 Cpp-Options: -DWINDOWS
162Benchmark parser
163 Type: exitcode-stdio-1.0
164 Main-Is: Parser.hs
165 HS-Source-Dirs: bench .
166 Build-Depends: base
167 , bytestring
168 , criterion
169 , http-types
170 , network
171 , network
173Source-Repository head
174 Type: git
175 Location: git://github.com/yesodweb/wai.git