git.iko.soy/typeable/servant
on servant-docs-0.11.5 help sign in
typeable/servant/servant-http-streams/servant-http-streams.cabal
137 lines 4.4 kB history raw
1cabal-version: >=1.10
2name: servant-http-streams
3version: 0.17
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: 2019 Servant Contributors
22build-type: Simple
23tested-with:
24 GHC ==8.0.2
25 || ==8.2.2
26 || ==8.4.4
27 || ==8.6.5
28 || ==8.8.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.HttpStreams
41 Servant.HttpStreams.Internal
43 -- Bundled with GHC: Lower bound to not force re-installs
44 -- text and mtl are bundled starting with GHC-8.4
45 build-depends:
46 base >= 4.9 && < 4.14
47 , bytestring >= 0.10.8.1 && < 0.11
48 , containers >= 0.5.7.1 && < 0.7
49 , deepseq >= 1.4.2.0 && < 1.5
50 , mtl >= 2.2.2 && < 2.3
51 , text >= 1.2.3.0 && < 1.3
52 , time >= 1.6.0.1 && < 1.10
53 , transformers >= 0.5.2.0 && < 0.6
55 if !impl(ghc >= 8.2)
56 build-depends:
57 bifunctors >= 5.5.3 && < 5.6
59 -- Servant dependencies.
60 -- Strict dependency on `servant-client-core` as we re-export things.
61 build-depends:
62 servant == 0.17.*
63 , servant-client-core >= 0.17 && <0.17.1
65 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
66 -- Here can be exceptions if we really need features from the newer versions.
67 build-depends:
68 base-compat >= 0.10.5 && < 0.12
69 , case-insensitive
70 , http-streams >= 0.8.6.1 && < 0.9
71 , http-media >= 0.7.1.3 && < 0.9
72 , io-streams >= 1.5.0.1 && < 1.6
73 , http-types >= 0.12.2 && < 0.13
74 , http-common >= 0.8.2.0 && < 0.9
75 , exceptions >= 0.10.0 && < 0.11
76 , kan-extensions >= 5.2 && < 5.3
77 , monad-control >= 1.0.2.3 && < 1.1
78 , semigroupoids >= 5.3.1 && < 5.4
79 , transformers-base >= 0.4.5.2 && < 0.5
80 , transformers-compat >= 0.6.2 && < 0.7
82 hs-source-dirs: src
83 default-language: Haskell2010
84 ghc-options: -Wall -Wno-redundant-constraints
86test-suite spec
87 type: exitcode-stdio-1.0
88 ghc-options: -Wall -rtsopts -threaded "-with-rtsopts=-T -N2"
89 default-language: Haskell2010
90 hs-source-dirs: test
91 main-is: Spec.hs
92 other-modules:
93 Servant.ClientSpec
94 Servant.StreamSpec
96 -- Dependencies inherited from the library. No need to specify bounds.
97 build-depends:
98 base
99 , aeson
100 , base-compat
101 , bytestring
102 , http-api-data
103 , http-streams
104 , deepseq
105 , http-types
106 , mtl
107 , kan-extensions
108 , servant-http-streams
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.17.*
125 , servant-server == 0.17.*
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-streams, text, servant-http-streams, markdown-unlit
135 build-tool-depends: markdown-unlit:markdown-unlit
136 ghc-options: -pgmL markdown-unlit
137 default-language: Haskell2010