on iko/drop-jose help sign in
servant/servant-client/servant-client.cabal
146 lines 4.7 kB history raw
1cabal-version: >=1.10
2name: servant-client
3version: 0.18.3
5synopsis: Automatic derivation of querying functions for servant
6category: Servant, Web
7description:
8 This library lets you derive automatically Haskell functions that
9 let you query each endpoint of a <http://hackage.haskell.org/package/servant servant> webservice.
10 .
11 See <http://docs.servant.dev/en/stable/tutorial/Client.html the client section of the tutorial>.
12 .
13 <https://github.com/haskell-servant/servant/blob/master/servant-client/CHANGELOG.md CHANGELOG>
15homepage: http://docs.servant.dev/
16bug-reports: http://github.com/haskell-servant/servant/issues
17license: BSD-3-Clause
18license-file: LICENSE
19author: Servant Contributors
20maintainer: haskell-servant-maintainers@googlegroups.com
21copyright: 2014-2016 Zalora South East Asia Pte Ltd, 2016-2019 Servant Contributors
22build-type: Simple
23tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.2 || ==9.0.1
24 , GHCJS ==8.6.0.1
26extra-source-files:
27 CHANGELOG.md
28 README.md
30source-repository head
31 type: git
32 location: http://github.com/haskell-servant/servant.git
34library
35 exposed-modules:
36 Servant.Client
37 Servant.Client.Streaming
38 Servant.Client.Internal.HttpClient
39 Servant.Client.Internal.HttpClient.Streaming
41 -- Bundled with GHC: Lower bound to not force re-installs
42 -- text and mtl are bundled starting with GHC-8.4
43 build-depends:
44 base >= 4.9 && < 4.16
45 , bytestring >= 0.10.8.1 && < 0.12
46 , containers >= 0.5.7.1 && < 0.7
47 , deepseq >= 1.4.2.0 && < 1.5
48 , mtl >= 2.2.2 && < 2.3
49 , stm >= 2.4.5.1 && < 2.6
50 , text >= 1.2.3.0 && < 1.3
51 , time >= 1.6.0.1 && < 1.10
52 , transformers >= 0.5.2.0 && < 0.6
54 if !impl(ghc >= 8.2)
55 build-depends:
56 bifunctors >= 5.5.3 && < 5.6
58 -- Servant dependencies.
59 -- Strict dependency on `servant-client-core` as we re-export things.
60 build-depends:
61 servant == 0.18.*
62 , servant-client-core >= 0.18.3 && <0.18.4
64 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
65 -- Here can be exceptions if we really need features from the newer versions.
66 build-depends:
67 base-compat >= 0.10.5 && < 0.12
68 , http-client >= 0.5.13.1 && < 0.8
69 , http-media >= 0.7.1.3 && < 0.9
70 , http-types >= 0.12.2 && < 0.13
71 , exceptions >= 0.10.0 && < 0.11
72 , kan-extensions >= 5.2 && < 5.3
73 , monad-control >= 1.0.2.3 && < 1.1
74 , semigroupoids >= 5.3.1 && < 5.4
75 , transformers-base >= 0.4.5.2 && < 0.5
76 , transformers-compat >= 0.6.2 && < 0.8
78 hs-source-dirs: src
79 default-language: Haskell2010
80 ghc-options: -Wall -Wno-redundant-constraints
82test-suite spec
83 type: exitcode-stdio-1.0
84 ghc-options: -Wall -rtsopts -threaded "-with-rtsopts=-T -N2"
85 default-language: Haskell2010
86 if impl(ghcjs)
87 buildable: False
88 hs-source-dirs: test
89 main-is: Spec.hs
90 other-modules:
91 Servant.BasicAuthSpec
92 Servant.BrokenSpec
93 Servant.ClientTestUtils
94 Servant.ConnectionErrorSpec
95 Servant.FailSpec
96 Servant.GenAuthSpec
97 Servant.GenericSpec
98 Servant.HoistClientSpec
99 Servant.StreamSpec
100 Servant.SuccessSpec
101 Servant.WrappedApiSpec
103 -- Dependencies inherited from the library. No need to specify bounds.
104 build-depends:
105 base
106 , aeson
107 , base-compat
108 , bytestring
109 , http-api-data
110 , http-client
111 , http-types
112 , mtl
113 , kan-extensions
114 , servant-client
115 , servant-client-core
116 , sop-core
117 , stm
118 , text
119 , transformers
120 , transformers-compat
121 , wai
122 , warp
124 -- Additional dependencies
125 build-depends:
126 entropy >= 0.4.1.3 && < 0.5
127 , hspec >= 2.6.0 && < 2.9
128 , HUnit >= 1.6.0.0 && < 1.7
129 , network >= 2.8.0.0 && < 3.2
130 , QuickCheck >= 2.12.6.1 && < 2.15
131 , servant == 0.18.*
132 , servant-server == 0.18.*
133 , tdigest >= 0.2 && < 0.3
135 build-tool-depends:
136 hspec-discover:hspec-discover >= 2.6.0 && < 2.9
138test-suite readme
139 type: exitcode-stdio-1.0
140 main-is: README.lhs
141 build-depends: base, servant, http-client, text, servant-client, markdown-unlit
142 build-tool-depends: markdown-unlit:markdown-unlit
143 ghc-options: -pgmL markdown-unlit
144 default-language: Haskell2010
145 if impl(ghcjs)
146 buildable: False