on warp-tls/3.0.4.1 help sign in
typeable/wai/warp/warp.cabal
173 lines 6.4 kB history raw
1Name: warp
2Version: 3.0.13.1
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 if flag(network-bytestring)
50 Build-Depends: network >= 2.2.1.5 && < 2.2.3
51 , network-bytestring >= 0.1.3 && < 0.1.4
52 else
53 Build-Depends: network >= 2.3
54 if flag(use-bytestring-builder)
55 Build-Depends: bytestring < 0.10.2.0
56 , bytestring-builder
57 else
58 Build-Depends: bytestring >= 0.10.2.0
59 Exposed-modules: Network.Wai.Handler.Warp
60 Network.Wai.Handler.Warp.Buffer
61 Network.Wai.Handler.Warp.Timeout
62 Network.Wai.Handler.Warp.Internal
63 Other-modules: 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.Types
80 Network.Wai.Handler.Warp.Windows
81 Paths_warp
82 Ghc-Options: -Wall
84 if flag(warp-debug)
85 Cpp-Options: -DWARP_DEBUG
86 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
87 Cpp-Options: -DSENDFILEFD
88 Build-Depends: hashable
89 Other-modules: Network.Wai.Handler.Warp.MultiMap
90 if os(windows)
91 Cpp-Options: -DWINDOWS
92 Build-Depends: time
93 , old-locale
94 else
95 Build-Depends: unix
96 , http-date
98Test-Suite doctest
99 Type: exitcode-stdio-1.0
100 HS-Source-Dirs: test
101 Ghc-Options: -threaded -Wall
102 Main-Is: doctests.hs
103 Build-Depends: base
104 , doctest >= 0.9.3
106Test-Suite spec
107 Main-Is: Spec.hs
108 Other-modules: ConduitSpec
109 ExceptionSpec
110 FdCacheSpec
111 MultiMapSpec
112 ReadIntSpec
113 RequestSpec
114 ResponseHeaderSpec
115 ResponseSpec
116 RunSpec
117 Hs-Source-Dirs: test, .
118 Type: exitcode-stdio-1.0
120 Ghc-Options: -Wall
121 Build-Depends: base >= 4 && < 5
122 , array
123 , auto-update
124 , blaze-builder >= 0.3.3 && < 0.5
125 , bytestring >= 0.9.1.4
126 , case-insensitive >= 0.2
127 , ghc-prim
128 , HTTP
129 , http-types >= 0.8.4
130 , iproute >= 1.3.1
131 , lifted-base >= 0.1
132 , simple-sendfile >= 0.2.4 && < 0.3
133 , transformers >= 0.2.2
134 , unix-compat >= 0.2
135 , wai
136 , network
137 , HUnit
138 , QuickCheck
139 , hspec >= 1.3
140 , time
141 , old-locale
142 , text
143 , streaming-commons >= 0.1.10
144 , async
145 , vault
146 if flag(use-bytestring-builder)
147 Build-Depends: bytestring < 0.10.2.0
148 , bytestring-builder
149 else
150 Build-Depends: bytestring >= 0.10.2.0
152 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
153 Cpp-Options: -DSENDFILEFD
154 Build-Depends: unix
155 , hashable
156 , http-date
157 if os(windows)
158 Cpp-Options: -DWINDOWS
160Benchmark parser
161 Type: exitcode-stdio-1.0
162 Main-Is: Parser.hs
163 HS-Source-Dirs: bench .
164 Build-Depends: base
165 , bytestring
166 , criterion
167 , http-types
168 , network
169 , network
171Source-Repository head
172 Type: git
173 Location: git://github.com/yesodweb/wai.git