git.iko.soy/typeable/servant
on v0.16.2 help sign in
typeable/servant/servant-client/servant-client.cabal
137 lines 4.4 kB history raw
1cabal-version: >=1.10
2name: servant-client
3version: 0.16
4x-revision: 2
6synopsis: Automatic derivation of querying functions for servant
7category: Servant, Web
8description:
9 This library lets you derive automatically Haskell functions that
10 let you query each endpoint of a <http://hackage.haskell.org/package/servant servant> webservice.
11 .
12 See <http://docs.servant.dev/en/stable/tutorial/Client.html the client section of the tutorial>.
13 .
14 <https://github.com/haskell-servant/servant/blob/master/servant-client/CHANGELOG.md CHANGELOG>
16homepage: http://docs.servant.dev/
17bug-reports: http://github.com/haskell-servant/servant/issues
18license: BSD3
19license-file: LICENSE
20author: Servant Contributors
21maintainer: haskell-servant-maintainers@googlegroups.com
22copyright: 2014-2016 Zalora South East Asia Pte Ltd, 2016-2019 Servant Contributors
23build-type: Simple
24tested-with:
25 GHC ==8.0.2
26 || ==8.2.2
27 || ==8.4.4
28 || ==8.6.5
29 || ==8.8.1
31extra-source-files:
32 CHANGELOG.md
33 README.md
35source-repository head
36 type: git
37 location: http://github.com/haskell-servant/servant.git
39library
40 exposed-modules:
41 Servant.Client
42 Servant.Client.Streaming
43 Servant.Client.Internal.HttpClient
44 Servant.Client.Internal.HttpClient.Streaming
46 -- Bundled with GHC: Lower bound to not force re-installs
47 -- text and mtl are bundled starting with GHC-8.4
48 build-depends:
49 base >= 4.9 && < 4.13
50 , bytestring >= 0.10.8.1 && < 0.11
51 , containers >= 0.5.7.1 && < 0.7
52 , deepseq >= 1.4.2.0 && < 1.5
53 , mtl >= 2.2.2 && < 2.3
54 , stm >= 2.4.5.1 && < 2.6
55 , text >= 1.2.3.0 && < 1.3
56 , time >= 1.6.0.1 && < 1.9
57 , transformers >= 0.5.2.0 && < 0.6
59 if !impl(ghc >= 8.2)
60 build-depends:
61 bifunctors >= 5.5.3 && < 5.6
63 -- Servant dependencies.
64 -- Strict dependency on `servant-client-core` as we re-export things.
65 build-depends:
66 servant == 0.16.*
67 , servant-client-core >= 0.16 && <0.16.1
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 base-compat >= 0.10.5 && < 0.11
73 , http-client >= 0.5.13.1 && < 0.7
74 , http-media >= 0.7.1.3 && < 0.9
75 , http-types >= 0.12.2 && < 0.13
76 , exceptions >= 0.10.0 && < 0.11
77 , kan-extensions >= 5.2 && < 5.3
78 , monad-control >= 1.0.2.3 && < 1.1
79 , semigroupoids >= 5.3.1 && < 5.4
80 , transformers-base >= 0.4.5.2 && < 0.5
81 , transformers-compat >= 0.6.2 && < 0.7
83 hs-source-dirs: src
84 default-language: Haskell2010
85 ghc-options: -Wall -Wno-redundant-constraints
87test-suite spec
88 type: exitcode-stdio-1.0
89 ghc-options: -Wall -rtsopts -threaded "-with-rtsopts=-T -N2"
90 default-language: Haskell2010
91 hs-source-dirs: test
92 main-is: Spec.hs
93 other-modules:
94 Servant.ClientSpec
95 Servant.StreamSpec
97 -- Dependencies inherited from the library. No need to specify bounds.
98 build-depends:
99 base
100 , aeson
101 , base-compat
102 , bytestring
103 , http-api-data
104 , http-client
105 , http-types
106 , mtl
107 , kan-extensions
108 , servant-client
109 , servant-client-core
110 , stm
111 , text
112 , transformers
113 , transformers-compat
114 , wai
115 , warp
117 -- Additonal dependencies
118 build-depends:
119 entropy >= 0.4.1.3 && < 0.5
120 , hspec >= 2.6.0 && < 2.8
121 , HUnit >= 1.6.0.0 && < 1.7
122 , network >= 2.8.0.0 && < 3.2
123 , QuickCheck >= 2.12.6.1 && < 2.14
124 , servant == 0.16.*
125 , servant-server == 0.16.*
126 , tdigest >= 0.2 && < 0.3
128 build-tool-depends:
129 hspec-discover:hspec-discover >= 2.6.0 && < 2.8
131test-suite readme
132 type: exitcode-stdio-1.0
133 main-is: README.lhs
134 build-depends: base, servant, http-client, text, servant-client, markdown-unlit
135 build-tool-depends: markdown-unlit:markdown-unlit
136 ghc-options: -pgmL markdown-unlit
137 default-language: Haskell2010