on 56baffe help sign in
typeable/req/req.cabal
128 lines 3.7 kB history raw
1cabal-version: 2.4
2name: req
3version: 3.13.0
4license: BSD-3-Clause
5license-file: LICENSE.md
6maintainer: Mark Karpov <markkarpov92@gmail.com>
7author: Mark Karpov <markkarpov92@gmail.com>
8tested-with: ghc ==9.0.2 ghc ==9.2.4 ghc ==9.4.1
9homepage: https://github.com/mrkkrp/req
10bug-reports: https://github.com/mrkkrp/req/issues
11synopsis: HTTP client library
12description: HTTP client library.
13category: Network, Web
14build-type: Simple
15data-files:
16 httpbin-data/utf8.html
17 httpbin-data/robots.txt
19extra-doc-files:
20 CHANGELOG.md
21 README.md
23source-repository head
24 type: git
25 location: https://github.com/mrkkrp/req.git
27flag dev
28 description: Turn on development settings.
29 default: False
30 manual: True
32library
33 exposed-modules: Network.HTTP.Req
34 default-language: Haskell2010
35 build-depends:
36 aeson >=0.9 && <3,
37 authenticate-oauth >=1.5 && <1.8,
38 base >=4.15 && <5.0,
39 blaze-builder >=0.3 && <0.5,
40 bytestring >=0.10.8 && <0.12,
41 case-insensitive >=0.2 && <1.3,
42 connection >=0.2.2 && <0.4,
43 containers >=0.5 && <0.7,
44 exceptions >=0.6 && <0.11,
45 http-api-data >=0.2 && <0.6,
46 http-client >=0.7.13.1 && <0.8,
47 http-client-tls >=0.3.2 && <0.4,
48 http-types >=0.8 && <10.0,
49 modern-uri >=0.3 && <0.4,
50 monad-control >=1.0 && <1.1,
51 mtl >=2.0 && <3.0,
52 retry >=0.8 && <0.10,
53 template-haskell >=2.14 && <2.20,
54 text >=0.2 && <2.1,
55 time >=1.2 && <1.13,
56 transformers >=0.5.3.0 && <0.7,
57 transformers-base,
58 unliftio-core >=0.1.1 && <0.3
60 if flag(dev)
61 ghc-options: -O0 -Wall -Werror
63 else
64 ghc-options: -O2 -Wall
66 if flag(dev)
67 ghc-options:
68 -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns
69 -Wnoncanonical-monad-instances
71test-suite pure-tests
72 type: exitcode-stdio-1.0
73 main-is: Spec.hs
74 build-tool-depends: hspec-discover:hspec-discover >=2.0 && <3.0
75 hs-source-dirs: pure-tests
76 other-modules: Network.HTTP.ReqSpec
77 default-language: Haskell2010
78 build-depends:
79 QuickCheck >=2.7 && <3.0,
80 aeson >=0.9 && <3,
81 base >=4.15 && <5.0,
82 blaze-builder >=0.3 && <0.5,
83 bytestring >=0.10.8 && <0.12,
84 case-insensitive >=0.2 && <1.3,
85 hspec >=2.0 && <3.0,
86 hspec-core >=2.0 && <3.0,
87 http-api-data >=0.2 && <0.6,
88 http-client >=0.7 && <0.8,
89 http-types >=0.8 && <10.0,
90 modern-uri >=0.3 && <0.4,
91 mtl >=2.0 && <3.0,
92 req,
93 retry >=0.8 && <0.10,
94 template-haskell >=2.14 && <2.20,
95 text >=0.2 && <2.1,
96 time >=1.2 && <1.13
98 if flag(dev)
99 ghc-options: -O0 -Wall -Werror
101 else
102 ghc-options: -O2 -Wall
104test-suite httpbin-tests
105 type: exitcode-stdio-1.0
106 main-is: Spec.hs
107 build-tool-depends: hspec-discover:hspec-discover >=2.0 && <3.0
108 hs-source-dirs: httpbin-tests
109 other-modules: Network.HTTP.ReqSpec
110 default-language: Haskell2010
111 build-depends:
112 QuickCheck >=2.7 && <3.0,
113 aeson >=2 && <3,
114 base >=4.15 && <5.0,
115 bytestring >=0.10.8 && <0.12,
116 hspec >=2.0 && <3.0,
117 http-client >=0.7 && <0.8,
118 http-types >=0.8 && <10.0,
119 monad-control >=1.0 && <1.1,
120 mtl >=2.0 && <3.0,
121 req,
122 text >=0.2 && <2.1
124 if flag(dev)
125 ghc-options: -O0 -Wall -Werror
127 else
128 ghc-options: -O2 -Wall