packages feed

req-conduit-0.2.1: req-conduit.cabal

name:                 req-conduit
version:              0.2.1
cabal-version:        >= 1.18
tested-with:          GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.1
license:              BSD3
license-file:         LICENSE.md
author:               Mark Karpov <markkarpov92@gmail.com>, Michael Snoyman <michael@snoyman.com>
maintainer:           Mark Karpov <markkarpov92@gmail.com>
homepage:             https://github.com/mrkkrp/req-conduit
bug-reports:          https://github.com/mrkkrp/req-conduit/issues
category:             Network, Web, Conduit
synopsis:             Conduit helpers for the req HTTP client library
build-type:           Simple
description:          Conduit helpers for the req HTTP client library.
extra-doc-files:      CHANGELOG.md
                    , README.md

source-repository head
  type:               git
  location:           https://github.com/mrkkrp/req-conduit.git

flag dev
  description:        Turn on development settings.
  manual:             True
  default:            False

library
  build-depends:      base             >= 4.7   && < 5.0
                    , bytestring       >= 0.2   && < 0.11
                    , conduit          >= 0.5.5 && < 1.3
                    , http-client      >= 0.5   && < 0.6
                    , req              >= 0.3   && < 0.4
                    , resourcet        >= 1.1   && < 1.2
                    , transformers     >= 0.4   && < 0.6
  exposed-modules:    Network.HTTP.Req.Conduit
  if flag(dev)
    ghc-options:      -Wall -Werror
  else
    ghc-options:      -O2 -Wall
  default-language:   Haskell2010

test-suite httpbin-tests
  main-is:            Spec.hs
  other-modules:      Network.HTTP.Req.ConduitSpec
  hs-source-dirs:     httpbin-tests
  type:               exitcode-stdio-1.0
  build-depends:      base             >= 4.7   && < 5.0
                    , bytestring       >= 0.2   && < 0.11
                    , conduit          >= 0.5.5 && < 1.3
                    , conduit-extra    >= 1.1.10 && < 1.2
                    , hspec            >= 2.0   && < 3.0
                    , req              >= 0.3   && < 0.4
                    , req-conduit
                    , resourcet        >= 1.1   && < 1.2
                    , temporary        >= 1.1   && < 1.3
                    , transformers     >= 0.4   && < 0.6
  if flag(dev)
    ghc-options:      -Wall -Werror
  else
    ghc-options:      -O2 -Wall
  default-language:   Haskell2010

benchmark weigh-bench
  main-is:            Main.hs
  hs-source-dirs:     weigh-bench
  type:               exitcode-stdio-1.0
  build-depends:      base             >= 4.7   && < 5.0
                    , bytestring       >= 0.2   && < 0.11
                    , conduit          >= 0.5.5 && < 1.3
                    , conduit-extra    >= 1.1.10 && < 1.2
                    , req              >= 0.3   && < 0.4
                    , req-conduit
                    , resourcet        >= 1.1   && < 1.2
                    , temporary        >= 1.1   && < 1.3
                    , weigh            >= 0.0.4
  if flag(dev)
    ghc-options:      -O2 -Wall -Werror
  else
    ghc-options:      -O2 -Wall
  default-language:   Haskell2010