git.iko.soy/typeable/servant
on v0.18.2 help sign in
typeable/servant/servant-client/servant-client.cabal
139 lines 4.6 kB history raw
1cabal-version: >=1.10
2name: servant-client
3version: 0.18.2
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: BSD3
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.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.2
25extra-source-files:
26 CHANGELOG.md
27 README.md
29source-repository head
30 type: git
31 location: http://github.com/haskell-servant/servant.git
33library
34 exposed-modules:
35 Servant.Client
36 Servant.Client.Streaming
37 Servant.Client.Internal.HttpClient
38 Servant.Client.Internal.HttpClient.Streaming
40 -- Bundled with GHC: Lower bound to not force re-installs
41 -- text and mtl are bundled starting with GHC-8.4
42 build-depends:
43 base >= 4.9 && < 4.15
44 , bytestring >= 0.10.8.1 && < 0.11
45 , containers >= 0.5.7.1 && < 0.7
46 , deepseq >= 1.4.2.0 && < 1.5
47 , mtl >= 2.2.2 && < 2.3
48 , stm >= 2.4.5.1 && < 2.6
49 , text >= 1.2.3.0 && < 1.3
50 , time >= 1.6.0.1 && < 1.10
51 , transformers >= 0.5.2.0 && < 0.6
53 if !impl(ghc >= 8.2)
54 build-depends:
55 bifunctors >= 5.5.3 && < 5.6
57 -- Servant dependencies.
58 -- Strict dependency on `servant-client-core` as we re-export things.
59 build-depends:
60 servant == 0.18.*
61 , servant-client-core >= 0.18.2 && <0.18.3
63 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
64 -- Here can be exceptions if we really need features from the newer versions.
65 build-depends:
66 base-compat >= 0.10.5 && < 0.12
67 , http-client >= 0.5.13.1 && < 0.7
68 , http-media >= 0.7.1.3 && < 0.9
69 , http-types >= 0.12.2 && < 0.13
70 , exceptions >= 0.10.0 && < 0.11
71 , kan-extensions >= 5.2 && < 5.3
72 , monad-control >= 1.0.2.3 && < 1.1
73 , semigroupoids >= 5.3.1 && < 5.4
74 , transformers-base >= 0.4.5.2 && < 0.5
75 , transformers-compat >= 0.6.2 && < 0.7
77 hs-source-dirs: src
78 default-language: Haskell2010
79 ghc-options: -Wall -Wno-redundant-constraints
81test-suite spec
82 type: exitcode-stdio-1.0
83 ghc-options: -Wall -rtsopts -threaded "-with-rtsopts=-T -N2"
84 default-language: Haskell2010
85 hs-source-dirs: test
86 main-is: Spec.hs
87 other-modules:
88 Servant.BasicAuthSpec
89 Servant.ClientTestUtils
90 Servant.ConnectionErrorSpec
91 Servant.FailSpec
92 Servant.GenAuthSpec
93 Servant.HoistClientSpec
94 Servant.StreamSpec
95 Servant.SuccessSpec
96 Servant.WrappedApiSpec
98 -- Dependencies inherited from the library. No need to specify bounds.
99 build-depends:
100 base
101 , aeson
102 , base-compat
103 , bytestring
104 , http-api-data
105 , http-client
106 , http-types
107 , mtl
108 , kan-extensions
109 , servant-client
110 , servant-client-core
111 , sop-core
112 , stm
113 , text
114 , transformers
115 , transformers-compat
116 , wai
117 , warp
119 -- Additional dependencies
120 build-depends:
121 entropy >= 0.4.1.3 && < 0.5
122 , hspec >= 2.6.0 && < 2.8
123 , HUnit >= 1.6.0.0 && < 1.7
124 , network >= 2.8.0.0 && < 3.2
125 , QuickCheck >= 2.12.6.1 && < 2.14
126 , servant == 0.18.*
127 , servant-server == 0.18.*
128 , tdigest >= 0.2 && < 0.3
130 build-tool-depends:
131 hspec-discover:hspec-discover >= 2.6.0 && < 2.8
133test-suite readme
134 type: exitcode-stdio-1.0
135 main-is: README.lhs
136 build-depends: base, servant, http-client, text, servant-client, markdown-unlit
137 build-tool-depends: markdown-unlit:markdown-unlit
138 ghc-options: -pgmL markdown-unlit
139 default-language: Haskell2010