on wai-app-static/2.0.0.5 help sign in
typeable/wai/warp/warp.cabal
159 lines 6.7 kB history raw
1Name: warp
2Version: 2.1.2
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 [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.
19 .
20 [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.
21 .
22 [1.3.9] Support for byte range requests.
23 .
24 [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.
25extra-source-files: attic/hex
27Flag network-bytestring
28 Default: False
30Flag allow-sendfilefd
31 Description: Allow use of sendfileFd (not available on GNU/kFreeBSD)
32 Default: True
34Library
35 Build-Depends: base >= 3 && < 5
36 , array
37 , blaze-builder >= 0.3.3 && < 0.4
38 , blaze-builder-conduit >= 0.5 && < 1.1
39 , bytestring >= 0.9.1.4
40 , case-insensitive >= 0.2
41 , conduit >= 0.5 && < 1.1
42 , ghc-prim
43 , http-types >= 0.7
44 , lifted-base >= 0.1
45 , network-conduit >= 0.5 && < 1.1
46 , simple-sendfile >= 0.2.7 && < 0.3
47 , transformers >= 0.2.2 && < 0.4
48 , unix-compat >= 0.2
49 , void
50 , wai >= 2.1 && < 2.2
51 if flag(network-bytestring)
52 Build-Depends: network >= 2.2.1.5 && < 2.2.3
53 , network-bytestring >= 0.1.3 && < 0.1.4
54 else
55 Build-Depends: network >= 2.3
56 Exposed-modules: Network.Wai.Handler.Warp
57 Network.Wai.Handler.Warp.Buffer
58 Network.Wai.Handler.Warp.Timeout
59 Network.Wai.Handler.Warp.Internal
60 Other-modules: Network.Wai.Handler.Warp.Conduit
61 Network.Wai.Handler.Warp.Date
62 Network.Wai.Handler.Warp.FdCache
63 Network.Wai.Handler.Warp.Header
64 Network.Wai.Handler.Warp.IO
65 Network.Wai.Handler.Warp.IORef
66 Network.Wai.Handler.Warp.ReadInt
67 Network.Wai.Handler.Warp.Recv
68 Network.Wai.Handler.Warp.Request
69 Network.Wai.Handler.Warp.RequestHeader
70 Network.Wai.Handler.Warp.Response
71 Network.Wai.Handler.Warp.ResponseHeader
72 Network.Wai.Handler.Warp.Run
73 Network.Wai.Handler.Warp.SendFile
74 Network.Wai.Handler.Warp.Settings
75 Network.Wai.Handler.Warp.Thread
76 Network.Wai.Handler.Warp.Types
77 Paths_warp
78 Ghc-Options: -Wall
79 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
80 Cpp-Options: -DSENDFILEFD
81 Build-Depends: hashable
82 Other-modules: Network.Wai.Handler.Warp.MultiMap
83 if os(windows)
84 Cpp-Options: -DWINDOWS
85 Build-Depends: time
86 , old-locale
87 else
88 Build-Depends: unix
89 , http-date
91Test-Suite doctest
92 Type: exitcode-stdio-1.0
93 HS-Source-Dirs: test
94 Ghc-Options: -threaded -Wall
95 Main-Is: doctests.hs
96 Build-Depends: base
97 , doctest >= 0.9.3
99Test-Suite spec
100 Main-Is: Spec.hs
101 Other-modules: ConduitSpec
102 ExceptionSpec
103 FdCacheSpec
104 MultiMapSpec
105 ReadIntSpec
106 RequestSpec
107 ResponseHeaderSpec
108 ResponseSpec
109 RunSpec
110 ThreadSpec
111 Hs-Source-Dirs: test, .
112 Type: exitcode-stdio-1.0
114 Ghc-Options: -Wall
115 Build-Depends: base >= 4 && < 5
116 , array
117 , blaze-builder >= 0.3.3 && < 0.4
118 , blaze-builder-conduit >= 0.5
119 , bytestring >= 0.9.1.4
120 , case-insensitive >= 0.2
121 , conduit >= 0.5
122 , ghc-prim
123 , HTTP
124 , http-types >= 0.7
125 , lifted-base >= 0.1
126 , network-conduit
127 , simple-sendfile >= 0.2.4 && < 0.3
128 , transformers >= 0.2.2 && < 0.4
129 , unix-compat >= 0.2
130 , void
131 , wai
132 , network
133 , HUnit
134 , QuickCheck
135 , hspec >= 1.3
136 , time
137 , old-locale
139 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
140 Cpp-Options: -DSENDFILEFD
141 Build-Depends: unix
142 , hashable
143 , http-date
144 if os(windows)
145 Cpp-Options: -DWINDOWS
147Benchmark parser
148 Type: exitcode-stdio-1.0
149 Main-Is: Parser.hs
150 HS-Source-Dirs: bench .
151 Build-Depends: base
152 , bytestring
153 , criterion
154 , http-types
155 , network
157Source-Repository head
158 Type: git
159 Location: git://github.com/yesodweb/wai.git