on e33ea25 help sign in
typeable/req/req.cabal
107 lines 4.6 kB history raw
1name: req
2version: 0.4.0
3cabal-version: >= 1.18
4tested-with: GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.1
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 , monad-control >= 1.0 && < 1.1
43 , mtl >= 2.0 && < 3.0
44 , retry >= 0.7 && < 0.8
45 , text >= 0.2 && < 1.3
46 , time >= 1.2 && < 1.9
47 , transformers >= 0.4 && < 0.6
48 , transformers-base
49 if !impl(ghc >= 8.0)
50 build-depends: semigroups == 0.18.*
51 exposed-modules: Network.HTTP.Req
52 if flag(dev)
53 ghc-options: -O0 -Wall -Werror
54 else
55 ghc-options: -O2 -Wall
56 default-language: Haskell2010
58test-suite pure-tests
59 main-is: Spec.hs
60 other-modules: Network.HTTP.ReqSpec
61 hs-source-dirs: pure-tests
62 type: exitcode-stdio-1.0
63 build-depends: QuickCheck >= 2.7 && < 3.0
64 , aeson >= 0.9 && < 1.3
65 , base >= 4.7 && < 5.0
66 , blaze-builder >= 0.3 && < 0.5
67 , bytestring >= 0.10.8 && < 0.11
68 , case-insensitive >= 0.2 && < 1.3
69 , data-default-class
70 , hspec >= 2.0 && < 3.0
71 , hspec-core >= 2.0 && < 3.0
72 , http-client >= 0.5 && < 0.6
73 , http-types >= 0.8 && < 10.0
74 , mtl >= 2.0 && < 3.0
75 , req
76 , text >= 0.2 && < 1.3
77 , time >= 1.2 && < 1.9
78 if flag(dev)
79 ghc-options: -O0 -Wall -Werror
80 else
81 ghc-options: -O2 -Wall
82 default-language: Haskell2010
84test-suite httpbin-tests
85 main-is: Spec.hs
86 other-modules: Network.HTTP.ReqSpec
87 hs-source-dirs: httpbin-tests
88 type: exitcode-stdio-1.0
89 build-depends: QuickCheck >= 2.7 && < 3.0
90 , aeson >= 0.9 && < 1.3
91 , base >= 4.7 && < 5.0
92 , bytestring >= 0.10.8 && < 0.11
93 , data-default-class
94 , hspec >= 2.0 && < 3.0
95 , http-client >= 0.5 && < 0.6
96 , http-types >= 0.8 && < 10.0
97 , monad-control >= 1.0 && < 1.1
98 , mtl >= 2.0 && < 3.0
99 , req
100 , retry >= 0.7 && < 0.8
101 , text >= 0.2 && < 1.3
102 , unordered-containers >= 0.2.5 && < 0.2.9
103 if flag(dev)
104 ghc-options: -O0 -Wall -Werror
105 else
106 ghc-options: -O2 -Wall
107 default-language: Haskell2010