packages feed

http-slim-1.2: http-slim.cabal

Cabal-Version: >= 1.10
Name: http-slim
Version: 1.2
Build-type: Simple
License: BSD3
License-file: LICENSE
Author: Krasimir Angelov <kr.angelov@gmail.com>
Maintainer: Krasimir Angelov <kr.angelov@gmail.com>
Homepage: https://github.com/krangelov/http-slim
Category: Network
Synopsis: A library for client/server HTTP with TLS support
Description:
  A simple HTTP client/server package with minimal dependencies
  to other packages. Most of the code is derived from 
  the older HTTP package. Server mode as well as FastCGI interface are
  included as well.

tested-with:
  GHC==9.6.6, GHC==9.2.1, GHC==9.0.1,
  GHC==8.10.7, GHC==8.8.4, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2,
  GHC==7.10.3, GHC==7.8.4, GHC==7.6.3

Source-Repository head
  type: git
  location: https://github.com/krangelov/http-slim.git

flag network-uri
  description: Get Network.URI from the network-uri package
  default: True

flag network-bsd
   description: Get Network.BSD from the network-bsd package
   default: True

Library
  Exposed-modules:
                 Network.TCP,
                 Network.HTTP,
                 Network.HTTP.Headers,
                 Network.HTTP.Base,
                 Network.HTTP.Auth,
                 Network.HTTP.Cookie,
                 Network.HTTP.Proxy,
                 Network.HTTP.HandleStream,
                 Network.HTTP.MD5,
                 Network.Browser,
                 Network.FastCGI
  Other-modules:
                 Network.HTTP.Base64,
                 Network.HTTP.Utils
                 Paths_http_slim
  GHC-options: -fwarn-missing-signatures

  -- note the test harness constraints should be kept in sync with these
  -- where dependencies are shared
  build-depends:
      base          >= 4.6.0.0   && < 4.22
    , array         >= 0.3.0.2   && < 0.6
    , parsec        >= 2.0       && < 3.2
    , time          >= 1.1.2.3   && < 1.13
    , transformers  >= 0.2.0.0   && < 0.7
        -- transformers-0.2.0.0 is the first to have Control.Monad.IO.Class
    -- The following dependencies are refined by flags, but they should
    -- still be mentioned here on the top-level.
    , mtl           >= 2.0.0.0   && < 2.4
    , network       >= 2.4       && < 3.3
    , HsOpenSSL                     < 0.12
    , bytestring                    < 0.13
    , containers                    < 0.8

  default-language: Haskell98
  default-extensions: FlexibleInstances

  if flag(network-uri)
    Build-depends: network-uri == 2.6.*, network >= 2.6
  else
    Build-depends: network < 3.3
  if flag(network-bsd)
     build-depends: network-bsd >= 2.7 && < 2.9,
                    network >= 2.7
  else
     build-depends: network < 3.3

  if os(windows)
    Build-depends: Win32 >= 2.2.0.0 && < 2.14