packages feed

servant-multipart-0.11.3: servant-multipart.cabal

name:                servant-multipart
version:             0.11.3
synopsis:            multipart/form-data (e.g file upload) support for servant
description:
  This package adds support for file upload to the servant ecosystem. It draws
  on ideas and code from several people who participated in the (in)famous
  [ticket #133](https://github.com/haskell-servant/servant/issues/133) on
  servant's issue tracker.
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
category:            Web, Servant
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:  CHANGELOG.md
tested-with:
  GHC ==8.0.2
   || ==8.2.2
   || ==8.4.4
   || ==8.6.2

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

  -- ghc boot libs
  build-depends:
    base            >= 4.9       && < 5,
    bytestring      >= 0.10.8.1  && < 0.11,
    directory       >= 1.3       && < 1.4,
    text            >= 1.2.3.0   && < 1.3,
    transformers    >= 0.5.2.0   && < 0.6

  -- other dependencies
  build-depends:
    http-media      >= 0.7.1.3  && <0.8,
    lens            >= 4.17     && < 4.18,
    resourcet       >= 1.2.2    && <1.3,
    servant         >= 0.15     && <0.16,
    servant-docs    >= 0.10     && <0.15,
    servant-foreign >= 0.15     && <0.16,
    servant-server  >= 0.15     && <0.16,
    wai             >= 3.2.1.2  && <3.3,
    wai-extra       >= 3.0.24.3 && <3.1

executable upload
  hs-source-dirs:      exe
  main-is:             Upload.hs
  default-language:    Haskell2010
  build-depends:
                base,
                http-client,
                bytestring,
                network,
                servant,
                servant-multipart,
                servant-server,
                text,
                transformers,
                warp,
                wai

source-repository head
  type:     git
  location: https://github.com/haskell-servent/servant-multipart