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