on ci-fix-followups help sign in
servant/servant-client-core/servant-client-core.cabal
110 lines 3.6 kB history raw
1cabal-version: >=1.10
2name: servant-client-core
3version: 0.18.2
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: BSD3
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.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.2
20 , GHCJS == 8.4
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.15
54 , bytestring >= 0.10.8.1 && < 0.12
55 , containers >= 0.5.7.1 && < 0.7
56 , deepseq >= 1.4.2.0 && < 1.5
57 , text >= 1.2.3.0 && < 1.3
58 , transformers >= 0.5.2.0 && < 0.6
59 , template-haskell >= 2.11.1.0 && < 2.17
61 if !impl(ghc >= 8.2)
62 build-depends:
63 bifunctors >= 5.5.3 && < 5.6
65 -- Servant dependencies
66 build-depends:
67 servant >= 0.18.2 && <0.19
69 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
70 -- Here can be exceptions if we really need features from the newer versions.
71 build-depends:
72 aeson >= 1.4.1.0 && < 1.6
73 , base-compat >= 0.10.5 && < 0.12
74 , base64-bytestring >= 1.0.0.1 && < 1.3
75 , exceptions >= 0.10.0 && < 0.11
76 , free >= 5.1 && < 5.2
77 , http-media >= 0.7.1.3 && < 0.9
78 , http-types >= 0.12.2 && < 0.13
79 , network-uri >= 2.6.1.0 && < 2.7
80 , safe >= 0.3.17 && < 0.4
81 , sop-core >= 0.4.0.0 && < 0.6
83 hs-source-dirs: src
84 default-language: Haskell2010
85 ghc-options: -Wall
87test-suite spec
88 type: exitcode-stdio-1.0
89 ghc-options: -Wall
90 default-language: Haskell2010
91 hs-source-dirs: test
92 main-is: Spec.hs
93 other-modules:
94 Servant.Client.Core.Internal.BaseUrlSpec
95 Servant.Client.Core.RequestSpec
97 -- Dependencies inherited from the library. No need to specify bounds.
98 build-depends:
99 base
100 , base-compat
101 , servant-client-core
103 -- Additional dependencies
104 build-depends:
105 deepseq >= 1.4.2.0 && < 1.5
106 , hspec >= 2.6.0 && < 2.8
107 , QuickCheck >= 2.12.6.1 && < 2.15
109 build-tool-depends:
110 hspec-discover:hspec-discover >= 2.6.0 && <2.8