on 030d75a help sign in
typeable/req/req.cabal
104 lines 4.4 kB history raw
1name: req
2version: 0.3.0
3cabal-version: >= 1.10
4tested-with: GHC==7.8.4, GHC==7.10.3, GHC==8.0.2
5license: BSD3
6license-file: LICENSE.md
7author: Mark Karpov <markkarpov92@gmail.com>
8maintainer: Mark Karpov <markkarpov92@gmail.com>
9homepage: https://github.com/mrkkrp/req
10bug-reports: https://github.com/mrkkrp/req/issues
11category: Network, Web
12synopsis: Easy-to-use, type-safe, expandable, high-level HTTP library
13build-type: Simple
14description: Easy-to-use, type-safe, expandable, high-level HTTP library.
15extra-doc-files: CHANGELOG.md
16 , README.md
17data-files: httpbin-data/utf8.html
18 , httpbin-data/robots.txt
20source-repository head
21 type: git
22 location: https://github.com/mrkkrp/req.git
24flag dev
25 description: Turn on development settings.
26 manual: True
27 default: False
29library
30 build-depends: aeson >= 0.9 && < 1.3
31 , authenticate-oauth >= 1.5 && < 1.7
32 , base >= 4.7 && < 5.0
33 , blaze-builder >= 0.3 && < 0.5
34 , bytestring >= 0.10.8 && < 0.11
35 , case-insensitive >= 0.2 && < 1.3
36 , connection >= 0.2.2 && < 0.3
37 , data-default-class
38 , http-api-data >= 0.2 && < 0.4
39 , http-client >= 0.5 && < 0.6
40 , http-client-tls >= 0.3.2 && < 0.4
41 , http-types >= 0.8 && < 10.0
42 , mtl >= 2.0 && < 3.0
43 , retry >= 0.7 && < 0.8
44 , text >= 0.2 && < 1.3
45 , time >= 1.2 && < 1.9
46 , transformers >= 0.4 && < 0.6
47 if !impl(ghc >= 8.0)
48 build-depends: semigroups == 0.18.*
49 exposed-modules: Network.HTTP.Req
50 if flag(dev)
51 ghc-options: -Wall -Werror
52 else
53 ghc-options: -O2 -Wall
54 default-language: Haskell2010
56test-suite pure-tests
57 main-is: Spec.hs
58 other-modules: Network.HTTP.ReqSpec
59 hs-source-dirs: pure-tests
60 type: exitcode-stdio-1.0
61 build-depends: QuickCheck >= 2.7 && < 3.0
62 , aeson >= 0.9 && < 1.3
63 , base >= 4.7 && < 5.0
64 , blaze-builder >= 0.3 && < 0.5
65 , bytestring >= 0.10.8 && < 0.11
66 , case-insensitive >= 0.2 && < 1.3
67 , data-default-class
68 , hspec >= 2.0 && < 3.0
69 , hspec-core >= 2.0 && < 3.0
70 , http-client >= 0.5 && < 0.6
71 , http-types >= 0.8 && < 10.0
72 , mtl >= 2.0 && < 3.0
73 , req
74 , text >= 0.2 && < 1.3
75 , time >= 1.2 && < 1.9
76 if flag(dev)
77 ghc-options: -Wall -Werror
78 else
79 ghc-options: -O2 -Wall
80 default-language: Haskell2010
82test-suite httpbin-tests
83 main-is: Spec.hs
84 other-modules: Network.HTTP.ReqSpec
85 hs-source-dirs: httpbin-tests
86 type: exitcode-stdio-1.0
87 build-depends: QuickCheck >= 2.7 && < 3.0
88 , aeson >= 0.9 && < 1.3
89 , base >= 4.7 && < 5.0
90 , bytestring >= 0.10.8 && < 0.11
91 , data-default-class
92 , hspec >= 2.0 && < 3.0
93 , http-client >= 0.5 && < 0.6
94 , http-types >= 0.8 && < 10.0
95 , mtl >= 2.0 && < 3.0
96 , req
97 , retry >= 0.7 && < 0.8
98 , text >= 0.2 && < 1.3
99 , unordered-containers >= 0.2.5 && < 0.2.9
100 if flag(dev)
101 ghc-options: -Wall -Werror
102 else
103 ghc-options: -O2 -Wall
104 default-language: Haskell2010