summaryrefslogtreecommitdiff
path: root/http-conduit.cabal
blob: dde6e210e31183f1618252e27e07059c53c94d0f (plain)
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name:            http-conduit
version:         1.0.0
license:         BSD3
license-file:    LICENSE
author:          Michael Snoyman <michael@snoyman.com>
maintainer:      Michael Snoyman <michael@snoyman.com>
synopsis:        HTTP client package with conduit interface and HTTPS support.
description:
    This package uses attoparsec for parsing the actual contents of the HTTP connection. It also provides higher-level functions which allow you to avoid direct usage of conduits.
category:        Web, Conduit
stability:       Stable
cabal-version:   >= 1.6
build-type:      Simple
homepage:        http://github.com/snoyberg/http-enumerator

flag test
  description: Build the test executable.
  default: False
flag network-bytestring
  default: False

library
    build-depends: base                  >= 4       && < 5
                 , bytestring            >= 0.9.1.4 && < 0.10
                 , transformers          >= 0.2     && < 0.3
                 , failure               >= 0.1     && < 0.2
                 , conduit               >= 0.0     && < 0.1
                 , zlib-conduit          >= 0.0     && < 0.1
                 , blaze-builder-conduit >= 0.0     && < 0.1
                 , attoparsec-conduit    >= 0.0     && < 0.1
                 , attoparsec            >= 0.8.0.2 && < 0.11
                 , utf8-string           >= 0.3.4   && < 0.4
                 , blaze-builder         >= 0.2.1   && < 0.4
                 , zlib-enum             >= 0.2     && < 0.3
                 , http-types            >= 0.6     && < 0.7
                 , cprng-aes             >= 0.2     && < 0.3
                 , tls                   >= 0.8.1   && < 0.9
                 , tls-extra             >= 0.4     && < 0.5
                 , monad-control         >= 0.3     && < 0.4
                 , containers            >= 0.2
                 , certificate           >= 0.7     && < 1.1
                 , case-insensitive      >= 0.2
                 , base64-bytestring     >= 0.1     && < 0.2
                 , asn1-data             >= 0.5.1   && < 0.7
                 , data-default          >= 0.3     && < 0.4
                 , text
                 , transformers-base     >= 0.4     && < 0.5
                 , lifted-base           >= 0.1     && < 0.2
    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.HTTP.Conduit
    other-modules:   Network.HTTP.Conduit.Parser
                     Network.HTTP.Conduit.ConnInfo
                     Network.HTTP.Conduit.Request
                     Network.HTTP.Conduit.Util
                     Network.HTTP.Conduit.Manager
                     Network.HTTP.Conduit.Chunk
                     Network.HTTP.Conduit.Response
    ghc-options:     -Wall

executable http-conduit
    main-is: test.hs
    if flag(test)
        Buildable: True
    else
        Buildable: False

source-repository head
  type:     git
  location: git://github.com/snoyberg/http-enumerator.git