git.iko.soy/typeable/servant
on wip-servant-client-jsaddle help sign in
typeable/servant/servant-client/servant-client.cabal
133 lines 4.4 kB history raw
1cabal-version: >=1.10
2name: servant-client
3version: 0.15
4x-revision: 1
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://haskell-servant.readthedocs.org/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://haskell-servant.readthedocs.org/
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-2018 Servant Contributors
23build-type: Simple
24tested-with:
25 GHC ==8.0.2
26 || ==8.2.2
27 || ==8.4.4
28 || ==8.6.2
30extra-source-files:
31 CHANGELOG.md
32 README.md
34source-repository head
35 type: git
36 location: http://github.com/haskell-servant/servant.git
38library
39 exposed-modules:
40 Servant.Client
41 Servant.Client.Streaming
42 Servant.Client.Internal.HttpClient
43 Servant.Client.Internal.HttpClient.Streaming
45 -- Bundled with GHC: Lower bound to not force re-installs
46 -- text and mtl are bundled starting with GHC-8.4
47 build-depends:
48 base >= 4.9 && < 4.13
49 , bytestring >= 0.10.8.1 && < 0.11
50 , containers >= 0.5.7.1 && < 0.7
51 , deepseq >= 1.4.2.0 && < 1.5
52 , mtl >= 2.2.2 && < 2.3
53 , stm >= 2.4.5.1 && < 2.6
54 , text >= 1.2.3.0 && < 1.3
55 , time >= 1.6.0.1 && < 1.9
56 , transformers >= 0.5.2.0 && < 0.6
58 -- Servant dependencies.
59 -- Strict dependency on `servant-client-core` as we re-export things.
60 build-depends:
61 servant == 0.15.*
62 , servant-client-core >= 0.15 && <0.15.1
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.11
68 , http-client >= 0.5.13.1 && < 0.7
69 , http-media >= 0.7.1.3 && < 0.8
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.7
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 hs-source-dirs: test
87 main-is: Spec.hs
88 other-modules:
89 Servant.ClientSpec
90 Servant.StreamSpec
92 -- Dependencies inherited from the library. No need to specify bounds.
93 build-depends:
94 base
95 , aeson
96 , base-compat
97 , bytestring
98 , http-api-data
99 , http-client
100 , http-types
101 , mtl
102 , kan-extensions
103 , servant-client
104 , servant-client-core
105 , stm
106 , text
107 , transformers
108 , transformers-compat
109 , wai
110 , warp
112 -- Additonal dependencies
113 build-depends:
114 entropy >= 0.4.1.3 && < 0.5
115 , generics-sop >= 0.4.0.1 && < 0.5
116 , hspec >= 2.6.0 && < 2.7
117 , HUnit >= 1.6.0.0 && < 1.7
118 , network >= 2.8.0.0 && < 3.1
119 , QuickCheck >= 2.12.6.1 && < 2.13
120 , servant == 0.15.*
121 , servant-server == 0.15.*
122 , tdigest >= 0.2 && < 0.3
124 build-tool-depends:
125 hspec-discover:hspec-discover >= 2.6.0 && < 2.7
127test-suite readme
128 type: exitcode-stdio-1.0
129 main-is: README.lhs
130 build-depends: base, servant, http-client, text, servant-client, markdown-unlit
131 build-tool-depends: markdown-unlit:markdown-unlit
132 ghc-options: -pgmL markdown-unlit
133 default-language: Haskell2010