servant/servant/servant.cabal

187 lines
5.5 KiB
Plaintext
Raw Normal View History

name: servant
2018-07-04 21:59:43 +02:00
version: 0.14.1
synopsis: A family of combinators for defining webservices APIs
2014-12-08 10:56:02 +01:00
description:
A family of combinators for defining webservices APIs and serving them
.
2016-04-21 12:22:54 +02:00
You can learn about the basics in the <http://haskell-servant.readthedocs.org/en/stable/tutorial/index.html tutorial>.
2014-12-08 10:56:02 +01:00
.
2015-04-20 16:00:51 +02:00
<https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md CHANGELOG>
2016-04-21 12:22:54 +02:00
homepage: http://haskell-servant.readthedocs.org/
2014-12-08 10:56:02 +01:00
Bug-reports: http://github.com/haskell-servant/servant/issues
license: BSD3
license-file: LICENSE
author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com
copyright: 2014-2016 Zalora South East Asia Pte Ltd, Servant Contributors
2017-07-25 09:46:57 +02:00
category: Servant, Web
build-type: Custom
cabal-version: >=1.10
2017-10-22 11:59:10 +02:00
tested-with:
GHC==8.0.2
2017-12-10 12:29:37 +01:00
GHC==8.2.2
2018-10-15 17:15:52 +02:00
GHC==8.4.4
2018-10-07 19:44:41 +02:00
GHC==8.6.1
extra-source-files:
CHANGELOG.md
2014-12-08 10:56:02 +01:00
source-repository head
type: git
location: http://github.com/haskell-servant/servant.git
custom-setup
setup-depends:
2017-05-15 14:52:22 +02:00
base >= 4 && <5,
Cabal,
cabal-doctest >= 1.0.6 && <1.1
library
exposed-modules:
Servant.API
Servant.API.Alternative
Servant.API.BasicAuth
Servant.API.Capture
2015-01-08 16:24:19 +01:00
Servant.API.ContentTypes
Servant.API.Description
2017-05-16 10:18:16 +02:00
Servant.API.Empty
Servant.API.Experimental.Auth
2018-07-04 21:59:43 +02:00
Servant.API.Generic
2014-12-08 12:28:11 +01:00
Servant.API.Header
Servant.API.HttpVersion
Servant.API.Internal.Test.ComprehensiveAPI
Servant.API.IsSecure
Servant.API.Modifiers
Servant.API.QueryParam
Servant.API.Raw
Servant.API.RemoteHost
Servant.API.ReqBody
2015-04-13 15:12:33 +02:00
Servant.API.ResponseHeaders
Servant.API.Stream
Servant.API.Sub
Servant.API.TypeLevel
Servant.API.Vault
Servant.API.Verbs
2016-02-28 23:23:32 +01:00
Servant.API.WithNamedContext
-- Types
exposed-modules:
Servant.Types.SourceT
-- Safe links
exposed-modules:
Servant.Links
-- Deprecated modules, to be removed in late 2019
exposed-modules:
Servant.Utils.Links
-- Bundled with GHC: Lower bound to not force re-installs
-- text and mtl are bundled starting with GHC-8.4
--
-- note: mtl lower bound is so low because of GHC-7.8
build-depends:
2018-10-07 19:38:36 +02:00
base >= 4.9 && < 4.13
, bytestring >= 0.10.8.1 && < 0.11
, mtl >= 2.1 && < 2.3
, transformers >= 0.3.0.0 && < 0.6
, text >= 1.2.3.0 && < 1.3
if !impl(ghc >= 8.0)
build-depends:
semigroups >= 0.18.5 && < 0.19
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
-- Here can be exceptions if we really need features from the newer versions.
2018-04-09 11:26:35 +02:00
build-depends:
base-compat >= 0.10.5 && < 0.11
, aeson >= 1.3.1.1 && < 1.5
, attoparsec >= 0.13.2.2 && < 0.14
, bifunctors >= 5.5.3 && < 5.6
, case-insensitive >= 1.2.0.11 && < 1.3
, http-api-data >= 0.3.8.1 && < 0.4
, http-media >= 0.7.1.2 && < 0.8
, http-types >= 0.12.1 && < 0.13
, mmorph >= 1.1.2 && < 1.2
, network-uri >= 2.6.1.0 && < 2.7
, singleton-bool >= 0.1.4 && < 0.2
, string-conversions >= 0.4.0.1 && < 0.5
, tagged >= 0.8.5 && < 0.9
, vault >= 0.3.1.1 && < 0.4
hs-source-dirs: src
default-language: Haskell2010
2015-04-20 19:52:29 +02:00
other-extensions: CPP
, ConstraintKinds
2015-02-18 12:07:54 +01:00
, DataKinds
, DeriveDataTypeable
2015-02-18 12:07:54 +01:00
, FlexibleInstances
, FunctionalDependencies
2015-02-18 12:07:54 +01:00
, GADTs
, KindSignatures
, MultiParamTypeClasses
2015-02-18 12:07:54 +01:00
, OverlappingInstances
, OverloadedStrings
, PolyKinds
, QuasiQuotes
2015-02-18 12:07:54 +01:00
, RecordWildCards
, ScopedTypeVariables
, TemplateHaskell
, TypeFamilies
, TypeOperators
2015-02-18 12:07:54 +01:00
, TypeSynonymInstances
, UndecidableInstances
2018-07-11 00:39:38 +02:00
ghc-options: -Wall -Wno-redundant-constraints
2014-10-27 07:24:23 +01:00
test-suite spec
type: exitcode-stdio-1.0
2016-04-18 12:07:23 +02:00
ghc-options: -Wall
2014-10-27 07:24:23 +01:00
default-language: Haskell2010
hs-source-dirs: test
2014-10-27 07:24:23 +01:00
main-is: Spec.hs
2015-09-23 18:26:05 +02:00
other-modules:
Servant.API.ContentTypesSpec
Servant.API.ResponseHeadersSpec
Servant.API.StreamSpec
Servant.LinksSpec
-- Dependencies inherited from the library. No need to specify bounds.
2014-10-27 07:24:23 +01:00
build-depends:
base
, base-compat
2015-02-20 01:07:36 +01:00
, aeson
2015-02-20 11:13:10 +01:00
, bytestring
, servant
2014-10-27 07:24:23 +01:00
, string-conversions
, text
, transformers
-- Additonal dependencies
build-depends:
2018-10-25 22:16:16 +02:00
aeson-compat >= 0.3.8 && < 0.4
, hspec >= 2.5.4 && < 2.6
, QuickCheck >= 2.12.6.1 && < 2.13
, quickcheck-instances >= 0.3.19 && < 0.4
build-tool-depends:
hspec-discover:hspec-discover >= 2.5.4 && < 2.6
2016-10-11 19:21:40 +02:00
test-suite doctests
build-depends:
base
, servant
, doctest >= 0.16.0 && <0.17
-- We test Links failure with doctest, so we need extra dependencies
build-depends:
hspec >= 2.5.4 && < 2.6
type: exitcode-stdio-1.0
main-is: test/doctests.hs
buildable: True
default-language: Haskell2010
ghc-options: -Wall -threaded
if impl(ghc >= 8.2)
x-doctest-options: -fdiagnostics-color=never
x-doctest-source-dirs: test
x-doctest-modules: Servant.LinksSpec