on warp-tls/2.0.0.1 help sign in
typeable/wai/warp/warp.cabal
157 lines 6.2 kB history raw
1Name: warp
2Version: 2.0.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:
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.IORef
63 Network.Wai.Handler.Warp.ReadInt
64 Network.Wai.Handler.Warp.Recv
65 Network.Wai.Handler.Warp.Request
66 Network.Wai.Handler.Warp.RequestHeader
67 Network.Wai.Handler.Warp.Response
68 Network.Wai.Handler.Warp.ResponseHeader
69 Network.Wai.Handler.Warp.Run
70 Network.Wai.Handler.Warp.SendFile
71 Network.Wai.Handler.Warp.Settings
72 Network.Wai.Handler.Warp.Thread
73 Network.Wai.Handler.Warp.Types
74 Paths_warp
75 Ghc-Options: -Wall
76 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
77 Cpp-Options: -DSENDFILEFD
78 Build-Depends: hashable
79 Other-modules: Network.Wai.Handler.Warp.MultiMap
80 if os(windows)
81 Cpp-Options: -DWINDOWS
82 Build-Depends: time
83 , old-locale
84 else
85 Build-Depends: unix
86 , http-date
88Test-Suite doctest
89 Type: exitcode-stdio-1.0
90 HS-Source-Dirs: test
91 Ghc-Options: -threaded -Wall
92 Main-Is: doctests.hs
93 Build-Depends: base
94 , doctest >= 0.9.3
96Test-Suite spec
97 Main-Is: Spec.hs
98 Other-modules: ConduitSpec
99 ExceptionSpec
100 FdCacheSpec
101 MultiMapSpec
102 ReadIntSpec
103 RequestSpec
104 ResponseHeaderSpec
105 ResponseSpec
106 RunSpec
107 ThreadSpec
108 Hs-Source-Dirs: test, .
109 Type: exitcode-stdio-1.0
111 Ghc-Options: -Wall
112 Build-Depends: base >= 4 && < 5
113 , array
114 , blaze-builder >= 0.3.3 && < 0.4
115 , blaze-builder-conduit >= 0.5
116 , bytestring >= 0.9.1.4
117 , case-insensitive >= 0.2
118 , conduit >= 0.5
119 , ghc-prim
120 , HTTP
121 , http-types >= 0.7
122 , lifted-base >= 0.1
123 , network-conduit
124 , simple-sendfile >= 0.2.4 && < 0.3
125 , transformers >= 0.2.2 && < 0.4
126 , unix-compat >= 0.2
127 , void
128 , wai >= 2.0 && < 2.1
129 , http-attoparsec
130 , network
131 , HUnit
132 , QuickCheck
133 , hspec >= 1.3
134 , time
135 , old-locale
137 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
138 Cpp-Options: -DSENDFILEFD
139 Build-Depends: unix
140 , hashable
141 , http-date
142 if os(windows)
143 Cpp-Options: -DWINDOWS
145Benchmark parser
146 Type: exitcode-stdio-1.0
147 Main-Is: Parser.hs
148 HS-Source-Dirs: bench .
149 Build-Depends: base
150 , bytestring
151 , criterion
152 , http-types
153 , network
155Source-Repository head
156 Type: git
157 Location: git://github.com/yesodweb/wai.git