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