packages feed

http-kit-0.5.0: http-kit.cabal

name:             http-kit
version:          0.5.0
synopsis:         A low-level HTTP library
description:      A low-level HTTP library that can be used to build more
                  sophisticated applications on top of it.
                  .
                  The design goals are:
                  .
                  [secure] To mitigate denial-of-service attacks, everything is
                  bounded.
                  .
                  [efficient] Message bodies are read in chunks, so that they
                  can be processed in constant space.
                  .
                  [universal] No framework for streaming @IO@ is used.  This
                  allows you to build on top of it, using the libraries that
                  fit your purpose.
license:          MIT
license-file:     LICENSE
copyright:        (c) 2014 Zalora South East Asia Pte. Ltd
author:           Simon Hengel <sol@typeful.net>
maintainer:       Simon Hengel <sol@typeful.net>
build-type:       Simple
category:         Network
cabal-version:    >= 1.10

source-repository head
  type: git
  location: https://github.com/zalora/http-kit

library
  ghc-options:
      -Wall
  hs-source-dirs:
      src
  exposed-modules:
      Network.HTTP.Toolkit
      Network.HTTP.Toolkit.Body
      Network.HTTP.Toolkit.Connection
      Network.HTTP.Toolkit.InputStream
      Network.HTTP.Toolkit.Header
      Network.HTTP.Toolkit.Request
      Network.HTTP.Toolkit.Response
      Network.HTTP.Toolkit.Error
  other-modules:
      Network.HTTP.Toolkit.Util
  build-depends:
      base == 4.*
    , bytestring
    , http-types
    , case-insensitive
  default-language: Haskell2010

test-suite spec
  type:
      exitcode-stdio-1.0
  ghc-options:
      -Wall -Werror
  hs-source-dirs:
      test
  main-is:
      Spec.hs
  build-depends:
      base == 4.*
    , http-kit
    , http-types
    , bytestring
    , hspec >= 1.9
    , QuickCheck
    , quickcheck-instances
  default-language: Haskell2010