2014-10-21 15:25:34 +02:00
|
|
|
name: servant
|
|
|
|
version: 0.2
|
|
|
|
-- synopsis:
|
|
|
|
-- description:
|
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
2014-10-25 01:27:39 +02:00
|
|
|
author: Alp Mestanogullari, Soenke Hahn
|
2014-10-21 15:25:34 +02:00
|
|
|
maintainer: alpmestan@gmail.com
|
|
|
|
-- copyright:
|
|
|
|
category: Web
|
|
|
|
build-type: Simple
|
|
|
|
-- extra-source-files:
|
|
|
|
cabal-version: >=1.10
|
|
|
|
|
|
|
|
library
|
2014-10-25 01:27:39 +02:00
|
|
|
exposed-modules:
|
|
|
|
Servant
|
|
|
|
Servant.Client
|
|
|
|
Servant.Server
|
|
|
|
Servant.Text
|
|
|
|
Servant.API
|
|
|
|
Servant.API.Capture
|
|
|
|
Servant.API.Get
|
|
|
|
Servant.API.GetParam
|
|
|
|
Servant.API.Post
|
|
|
|
Servant.API.RQBody
|
|
|
|
Servant.API.Sub
|
|
|
|
Servant.API.Union
|
2014-10-21 15:25:34 +02:00
|
|
|
-- other-modules:
|
|
|
|
-- other-extensions:
|
|
|
|
build-depends:
|
|
|
|
base >=4 && <5
|
|
|
|
, either
|
|
|
|
, aeson
|
2014-10-24 13:36:19 +02:00
|
|
|
, bytestring
|
2014-10-24 19:39:03 +02:00
|
|
|
, exceptions
|
2014-10-21 15:25:34 +02:00
|
|
|
, string-conversions
|
|
|
|
, http-client
|
|
|
|
, http-types
|
|
|
|
, network-uri
|
|
|
|
, wai
|
|
|
|
, warp
|
|
|
|
, transformers
|
|
|
|
, text
|
2014-10-25 01:27:39 +02:00
|
|
|
hs-source-dirs: src
|
|
|
|
default-language: Haskell2010
|
|
|
|
ghc-options: -O0 -Wall
|
|
|
|
|
|
|
|
executable greet
|
|
|
|
main-is: greet.hs
|
|
|
|
hs-source-dirs: example
|
|
|
|
ghc-options: -O0 -Wall
|
|
|
|
default-language: Haskell2010
|
|
|
|
build-depends:
|
|
|
|
base
|
|
|
|
, servant
|
|
|
|
, aeson
|
|
|
|
, warp
|
|
|
|
, wai
|
|
|
|
, either
|
|
|
|
, text
|
|
|
|
, network-uri
|