on wai-extra/3.0.0.1 help sign in
typeable/wai/warp/warp.cabal
167 lines 6.7 kB history raw
1Name: warp
2Version: 3.0.0.3
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:
14 The premier WAI handler. For more information, see <http://steve.vinoski.net/blog/2011/05/01/warp-a-haskell-web-server/>.
15 .
16 Changelog
17 .
18 [3.0.0] WAI no longer uses conduit for its streaming interface.
19 .
20 [2.1.0] The @onOpen@ and @onClose@ settings now provide the @SockAddr@ of the client, and @onOpen@ can return a @Bool@ which will close the connection. The @responseRaw@ response has been added, which provides a more elegant way to handle WebSockets than the previous @settingsIntercept@. The old settings accessors have been deprecated in favor of new setters, which will allow settings changes to be made in the future without breaking backwards compatibility.
21 .
22 [2.0.0] ResourceT is not used anymore. Request and Response is now abstract data types. To use their constructors, Internal module should be imported.
23 .
24 [1.3.9] Support for byte range requests.
25 .
26 [1.3.7] Sockets now have FD_CLOEXEC set on them. This behavior is more secure, and the change should not affect the vast majority of use cases. However, it appeared that this is buggy and is fixed in 2.0.0.
27extra-source-files: attic/hex
29Flag network-bytestring
30 Default: False
32Flag allow-sendfilefd
33 Description: Allow use of sendfileFd (not available on GNU/kFreeBSD)
34 Default: True
36Flag warp-debug
37 Description: print debug output. not suitable for production
38 Default: False
40Library
41 Build-Depends: base >= 3 && < 5
42 , array
43 , blaze-builder >= 0.3.3 && < 0.4
44 , bytestring >= 0.9.1.4
45 , case-insensitive >= 0.2
46 , ghc-prim
47 , http-types >= 0.8.5
48 , simple-sendfile >= 0.2.7 && < 0.3
49 , unix-compat >= 0.2
50 , void
51 , wai >= 3.0 && < 3.1
52 , text
53 , streaming-commons >= 0.1.2
54 if flag(network-bytestring)
55 Build-Depends: network >= 2.2.1.5 && < 2.2.3
56 , network-bytestring >= 0.1.3 && < 0.1.4
57 else
58 Build-Depends: network >= 2.3
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.Date
65 Network.Wai.Handler.Warp.FdCache
66 Network.Wai.Handler.Warp.Header
67 Network.Wai.Handler.Warp.IO
68 Network.Wai.Handler.Warp.IORef
69 Network.Wai.Handler.Warp.ReadInt
70 Network.Wai.Handler.Warp.Recv
71 Network.Wai.Handler.Warp.Request
72 Network.Wai.Handler.Warp.RequestHeader
73 Network.Wai.Handler.Warp.Response
74 Network.Wai.Handler.Warp.ResponseHeader
75 Network.Wai.Handler.Warp.Run
76 Network.Wai.Handler.Warp.SendFile
77 Network.Wai.Handler.Warp.Settings
78 Network.Wai.Handler.Warp.Thread
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 ThreadSpec
118 Hs-Source-Dirs: test, .
119 Type: exitcode-stdio-1.0
121 Ghc-Options: -Wall
122 Build-Depends: base >= 4 && < 5
123 , array
124 , blaze-builder >= 0.3.3 && < 0.4
125 , bytestring >= 0.9.1.4
126 , case-insensitive >= 0.2
127 , ghc-prim
128 , HTTP
129 , http-types >= 0.8.4
130 , lifted-base >= 0.1
131 , simple-sendfile >= 0.2.4 && < 0.3
132 , transformers >= 0.2.2
133 , unix-compat >= 0.2
134 , void
135 , wai
136 , network
137 , HUnit
138 , QuickCheck
139 , hspec >= 1.3
140 , time
141 , old-locale
142 , text
143 , streaming-commons >= 0.1.1
144 , async
146 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
147 Cpp-Options: -DSENDFILEFD
148 Build-Depends: unix
149 , hashable
150 , http-date
151 if os(windows)
152 Cpp-Options: -DWINDOWS
154Benchmark parser
155 Type: exitcode-stdio-1.0
156 Main-Is: Parser.hs
157 HS-Source-Dirs: bench .
158 Build-Depends: base
159 , bytestring
160 , criterion
161 , http-types
162 , network
163 , network
165Source-Repository head
166 Type: git
167 Location: git://github.com/yesodweb/wai.git