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
|
2014-10-28 09:04:27 +01:00
|
|
|
Servant.Docs
|
2014-10-25 01:27:39 +02:00
|
|
|
Servant.Server
|
|
|
|
Servant.API
|
|
|
|
Servant.API.Capture
|
2014-10-28 09:14:10 +01:00
|
|
|
Servant.API.Delete
|
2014-10-25 01:27:39 +02:00
|
|
|
Servant.API.Get
|
2014-10-28 15:29:07 +01:00
|
|
|
Servant.API.JsonBody
|
2014-10-25 01:27:39 +02:00
|
|
|
Servant.API.Post
|
2014-10-28 09:17:28 +01:00
|
|
|
Servant.API.Put
|
2014-10-28 15:06:47 +01:00
|
|
|
Servant.API.QueryParam
|
2014-10-27 11:24:20 +01:00
|
|
|
Servant.API.Raw
|
2014-10-25 01:27:39 +02:00
|
|
|
Servant.API.Sub
|
|
|
|
Servant.API.Union
|
2014-10-28 12:34:41 +01:00
|
|
|
Servant.Utils.Text
|
2014-10-21 15:25:34 +02:00
|
|
|
-- other-modules:
|
|
|
|
-- other-extensions:
|
|
|
|
build-depends:
|
2014-10-28 05:55:07 +01:00
|
|
|
base >=4.7 && <5
|
2014-10-21 15:25:34 +02:00
|
|
|
, 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-28 09:04:27 +01:00
|
|
|
, lens
|
|
|
|
, unordered-containers
|
|
|
|
, hashable
|
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
|
2014-10-27 07:24:23 +01:00
|
|
|
|
|
|
|
test-suite spec
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
ghc-options:
|
|
|
|
-Wall -Werror -fno-warn-name-shadowing -fno-warn-missing-signatures
|
|
|
|
default-language: Haskell2010
|
2014-10-28 09:04:27 +01:00
|
|
|
hs-source-dirs: test
|
2014-10-27 07:24:23 +01:00
|
|
|
main-is: Spec.hs
|
|
|
|
build-depends:
|
|
|
|
base == 4.*
|
|
|
|
, aeson
|
|
|
|
, bytestring
|
|
|
|
, either
|
|
|
|
, exceptions
|
|
|
|
, hspec2
|
|
|
|
, hspec-wai
|
|
|
|
, http-client
|
|
|
|
, http-types
|
|
|
|
, network-uri >= 2.6
|
2014-10-28 09:04:27 +01:00
|
|
|
, servant
|
2014-10-27 07:24:23 +01:00
|
|
|
, string-conversions
|
|
|
|
, text
|
|
|
|
, transformers
|
|
|
|
, wai
|
|
|
|
, wai-extra
|