servant/servant/servant.cabal

176 lines
5.3 KiB
Plaintext
Raw Normal View History

cabal-version: 2.2
name: servant
2022-10-27 21:26:36 +02:00
version: 0.19.1
synopsis: A family of combinators for defining webservices APIs
category: Servant, Web
2014-12-08 10:56:02 +01:00
description:
A family of combinators for defining webservices APIs and serving them
.
You can learn about the basics in the <http://docs.servant.dev/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>
homepage: http://docs.servant.dev/
bug-reports: http://github.com/haskell-servant/servant/issues
license: BSD-3-Clause
license-file: LICENSE
author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com
2019-02-27 17:13:35 +01:00
copyright: 2014-2016 Zalora South East Asia Pte Ltd, 2016-2019 Servant Contributors
build-type: Simple
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.2 || ==9.0.1
, GHCJS ==8.6.0.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
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
Servant.API.Fragment
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.IsSecure
Servant.API.Modifiers
Servant.API.NamedRoutes
Servant.API.QueryParam
Servant.API.Raw
Servant.API.RemoteHost
Servant.API.ReqBody
2015-04-13 15:12:33 +02:00
Servant.API.ResponseHeaders
2020-06-13 16:10:07 +02:00
Servant.API.Status
Servant.API.Stream
Servant.API.Sub
Servant.API.TypeErrors
Servant.API.TypeLevel
2020-10-31 20:45:46 +01:00
Servant.API.UVerb
Servant.API.UVerb.Union
Servant.API.Vault
Servant.API.Verbs
2016-02-28 23:23:32 +01:00
Servant.API.WithNamedContext
Servant.API.WithResource
-- Types
exposed-modules:
Servant.Types.SourceT
-- Test stuff
exposed-modules:
Servant.Test.ComprehensiveAPI
-- Safe links
exposed-modules:
Servant.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:
2022-08-17 12:37:27 +02:00
base >= 4.9 && < 4.18
2020-12-16 11:04:49 +01:00
, bytestring >= 0.10.8.1 && < 0.12
, constraints >= 0.2
, mtl ^>= 2.2.2 || ^>= 2.3.1
2020-10-31 20:45:46 +01:00
, sop-core >= 0.4.0.0 && < 0.6
, transformers >= 0.5.2.0 && < 0.7
2022-02-06 23:12:25 +01:00
, text >= 1.2.3.0 && < 2.1
-- We depend (heavily) on the API of these packages:
-- i.e. re-export, or allow using without direct dependency
build-depends:
2022-08-24 01:15:16 +02:00
http-api-data >= 0.4.1 && < 0.5.1
, singleton-bool >= 0.1.4 && < 0.1.7
-- 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:
2022-02-25 04:24:59 +01:00
base-compat >= 0.10.5 && < 0.13
, aeson >= 1.4.1.0 && < 3
, attoparsec >= 0.13.2.2 && < 0.15
, bifunctors >= 5.5.3 && < 5.6
, case-insensitive >= 1.2.0.11 && < 1.3
2018-11-27 17:41:31 +01:00
, deepseq >= 1.4.2.0 && < 1.5
, http-media >= 0.7.1.3 && < 0.9
, http-types >= 0.12.2 && < 0.13
2022-03-21 15:18:08 +01:00
, mmorph >= 1.1.2 && < 1.3
, network-uri >= 2.6.1.0 && < 2.7
, QuickCheck >= 2.12.6.1 && < 2.15
, string-conversions >= 0.4.0.1 && < 0.5
, tagged >= 0.8.6 && < 0.9
, vault >= 0.3.1.2 && < 0.4
hs-source-dirs: src
default-language: Haskell2010
2020-10-31 20:45:46 +01:00
other-extensions: AllowAmbiguousTypes
, CPP
2015-04-20 19:52:29 +02:00
, ConstraintKinds
2015-02-18 12:07:54 +01:00
, DataKinds
, DeriveDataTypeable
, DeriveGeneric
2020-10-31 20:45:46 +01:00
, ExplicitNamespaces
, FlexibleContexts
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
, OverloadedStrings
, PolyKinds
2020-10-31 20:45:46 +01:00
, RankNTypes
, ScopedTypeVariables
, TupleSections
, TypeFamilies
, TypeOperators
, UndecidableInstances
2020-10-31 20:45:46 +01:00
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
2019-04-16 12:58:04 +02:00
, http-media
2018-11-10 00:20:57 +01:00
, mtl
, servant
2014-10-27 07:24:23 +01:00
, string-conversions
, text
, transformers
-- Additional dependencies
build-depends:
2022-03-21 15:37:40 +01:00
hspec >= 2.6.0 && < 2.10
, QuickCheck >= 2.12.6.1 && < 2.15
2018-10-25 22:16:16 +02:00
, quickcheck-instances >= 0.3.19 && < 0.4
build-tool-depends:
2022-03-21 15:37:40 +01:00
hspec-discover:hspec-discover >= 2.6.0 && < 2.10