-
Notifications
You must be signed in to change notification settings - Fork 8
/
warp.cabal
45 lines (42 loc) · 1.82 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
Name: warp
Version: 0.4.0
Synopsis: A fast, light-weight web server for WAI applications.
License: BSD3
License-file: LICENSE
Author: Michael Snoyman, Matt Brown
Maintainer: michael@snoyman.com
Homepage: http://github.com/snoyberg/warp
Category: Web, Yesod
Build-Type: Simple
Cabal-Version: >=1.6
Stability: Stable
flag timeout-protection
Description: Use timeouts (very performance-costly) to protect against DOS attacks.
Default: True
flag network-bytestring
Library
Build-Depends: base >= 3 && < 5
, bytestring >= 0.9 && < 0.10
, wai >= 0.4 && < 0.5
, blaze-builder-enumerator >= 0.2 && < 0.3
, transformers >= 0.2 && < 0.3
, enumerator >= 0.4.5 && < 0.5
, blaze-builder >= 0.2.1.4 && < 0.3
, sendfile >= 0.7.2 && < 0.8
, http-types >= 0.5 && < 0.6
, ascii >= 0.0.2 && < 0.1
if flag(network-bytestring)
build-depends: network >= 2.2.1 && < 2.2.3
, network-bytestring >= 0.1.3 && < 0.1.4
else
build-depends: network >= 2.3 && < 2.4
Exposed-modules: Network.Wai.Handler.Warp
Other-modules: Timeout
ghc-options: -Wall
if !flag(timeout-protection)
Cpp-options: -DNO_TIMEOUT_PROTECTION
if os(windows)
Cpp-options: -DWINDOWS
source-repository head
type: git
location: git://github.com/snoyberg/warp.git