packages feed

servant-multipart-client-0.12.2: servant-multipart-client.cabal

name:               servant-multipart-client
version:            0.12.2
synopsis:           multipart/form-data (e.g file upload) support for servant
description:
  This package adds client-side support for file upload to the servant ecosystem.

homepage:           https://github.com/haskell-servant/servant-multipart#readme
license:            BSD3
license-file:       LICENSE
author:             Alp Mestanogullari
maintainer:         alpmestan@gmail.com
copyright:          2016-2017 Alp Mestanogullari, 2018-2019 Servant Contributors
category:           Web, Servant
build-type:         Simple
cabal-version:      >=1.10
extra-source-files: CHANGELOG.md
tested-with:
  GHC ==8.6.5
   || ==8.8.4
   || ==8.10.7
   || ==9.0.2
   || ==9.2.8
   || ==9.4.7

library
  default-language: Haskell2010
  hs-source-dirs:   src
  exposed-modules:  Servant.Multipart.Client

  -- ghc boot libs
  build-depends:
      array         >=0.5.1.1  && <0.6
    , base          >=4.9      && <5
    , bytestring    >=0.10.8.1 && <0.12
    , text          >=1.2.3.0  && <2.1
    , random        >=0.1.1    && <1.3

  -- other dependencies
  build-depends:
      servant-multipart-api == 0.12.*
    , http-media          >=0.7.1.3  && <0.9
    , servant             >=0.16     && <0.21
    , servant-client-core >=0.16     && <0.21

  -- servant-0.19 dropped support for GHC-8.4 (latest GHCJS version),
  -- due to QuantifiedConstraints
  if impl(ghcjs)
      build-depends:
          servant             >=0.16     && <0.19
        , servant-client-core >=0.16     && <0.19

executable upload
  hs-source-dirs:   exe
  main-is:          Upload.hs
  default-language: Haskell2010
  build-depends:
      base
    , http-client
    , network            >=2.8 && <3.2
    , servant
    , servant-multipart-api
    , servant-multipart-client
    , servant-client
    , servant-client-core

executable server
  hs-source-dirs:   exe
  main-is:          Server.hs
  default-language: Haskell2010
  build-depends:
      base
    , bytestring
    , network            >=2.8 && <3.2
    , servant-multipart
    , servant-server
    , warp

  if impl(ghcjs)
    buildable: False