on no-mimerender-overlap help sign in
servant/servant-client-core/servant-client-core.cabal
111 lines 3.7 kB history raw
1cabal-version: >=1.10
2name: servant-client-core
3version: 0.18.3
5synopsis: Core functionality and class for client function generation for servant APIs
6category: Servant, Web
7description:
8 This library provides backend-agnostic generation of client functions. For
9 more information, see the README.
11homepage: http://docs.servant.dev/
12bug-reports: http://github.com/haskell-servant/servant/issues
13license: BSD-3-Clause
14license-file: LICENSE
15author: Servant Contributors
16maintainer: haskell-servant-maintainers@googlegroups.com
17copyright: 2014-2016 Zalora South East Asia Pte Ltd, 2016-2019 Servant Contributors
18build-type: Simple
19tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.2 || ==9.0.1
20 , GHCJS ==8.6.0.1
22extra-source-files:
23 CHANGELOG.md
24 README.md
26source-repository head
27 type: git
28 location: http://github.com/haskell-servant/servant.git
30library
31 exposed-modules:
32 Servant.Client.Core
33 Servant.Client.Free
34 Servant.Client.Generic
35 Servant.Client.Core.Reexport
36 Servant.Client.Core.Auth
37 Servant.Client.Core.BaseUrl
38 Servant.Client.Core.BasicAuth
39 Servant.Client.Core.ClientError
40 Servant.Client.Core.HasClient
41 Servant.Client.Core.Request
42 Servant.Client.Core.Response
43 Servant.Client.Core.RunClient
45 other-modules:
46 Servant.Client.Core.Internal
48 -- Bundled with GHC: Lower bound to not force re-installs
49 -- text and mtl are bundled starting with GHC-8.4
50 --
51 -- note: mtl lower bound is so low because of GHC-7.8
52 build-depends:
53 base >= 4.9 && < 4.16
54 , bytestring >= 0.10.8.1 && < 0.12
55 , constraints >= 0.2 && < 0.14
56 , containers >= 0.5.7.1 && < 0.7
57 , deepseq >= 1.4.2.0 && < 1.5
58 , text >= 1.2.3.0 && < 1.3
59 , transformers >= 0.5.2.0 && < 0.6
60 , template-haskell >= 2.11.1.0 && < 2.18
62 if !impl(ghc >= 8.2)
63 build-depends:
64 bifunctors >= 5.5.3 && < 5.6
66 -- Servant dependencies
67 build-depends:
68 servant >= 0.18.3 && <0.19
70 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
71 -- Here can be exceptions if we really need features from the newer versions.
72 build-depends:
73 aeson >= 1.4.1.0 && < 1.6
74 , base-compat >= 0.10.5 && < 0.12
75 , base64-bytestring >= 1.0.0.1 && < 1.3
76 , exceptions >= 0.10.0 && < 0.11
77 , free >= 5.1 && < 5.2
78 , http-media >= 0.7.1.3 && < 0.9
79 , http-types >= 0.12.2 && < 0.13
80 , network-uri >= 2.6.1.0 && < 2.7
81 , safe >= 0.3.17 && < 0.4
82 , sop-core >= 0.4.0.0 && < 0.6
84 hs-source-dirs: src
85 default-language: Haskell2010
86 ghc-options: -Wall
88test-suite spec
89 type: exitcode-stdio-1.0
90 ghc-options: -Wall
91 default-language: Haskell2010
92 hs-source-dirs: test
93 main-is: Spec.hs
94 other-modules:
95 Servant.Client.Core.Internal.BaseUrlSpec
96 Servant.Client.Core.RequestSpec
98 -- Dependencies inherited from the library. No need to specify bounds.
99 build-depends:
100 base
101 , base-compat
102 , servant-client-core
104 -- Additional dependencies
105 build-depends:
106 deepseq >= 1.4.2.0 && < 1.5
107 , hspec >= 2.6.0 && < 2.9
108 , QuickCheck >= 2.12.6.1 && < 2.15
110 build-tool-depends:
111 hspec-discover:hspec-discover >= 2.6.0 && <2.9