@@ -1,111 +1,127 @@
1−name: req
2−version: 3.1.0
3−cabal-version: 1.18
4−tested-with: GHC==8.6.5, GHC==8.8.3, GHC==8.10.1
5−license: BSD3
6−license-file: LICENSE.md
7−author: Mark Karpov <markkarpov92@gmail.com>
8−maintainer: Mark Karpov <markkarpov92@gmail.com>
9−homepage: https://github.com/mrkkrp/req
10−bug-reports: https://github.com/mrkkrp/req/issues
11−category: Network, Web
12−synopsis: Easy-to-use, type-safe, expandable, high-level HTTP client library
13−build-type: Simple
14−description: Easy-to-use, type-safe, expandable, high-level HTTP client library.
15−extra-doc-files: CHANGELOG.md
16− , README.md
17−data-files: httpbin-data/utf8.html
18− , httpbin-data/robots.txt
1+cabal-version: 1.18
2+name: req
3+version: 3.1.0
4+license: BSD3
5+license-file: LICENSE.md
6+maintainer: Mark Karpov <markkarpov92@gmail.com>
7+author: Mark Karpov <markkarpov92@gmail.com>
8+tested-with: ghc ==8.6.5 ghc ==8.8.3 ghc ==8.10.1
9+homepage: https://github.com/mrkkrp/req
10+bug-reports: https://github.com/mrkkrp/req/issues
11+synopsis:
12+ Easy-to-use, type-safe, expandable, high-level HTTP client library
13+
14+description:
15+ Easy-to-use, type-safe, expandable, high-level HTTP client library.
16+
17+category: Network, Web
18+build-type: Simple
19+data-files:
20+ httpbin-data/utf8.html
21+ httpbin-data/robots.txt
22+
23+extra-doc-files:
24+ CHANGELOG.md
25+ README.md
1926
2027source-repository head
21− type: git
22− location: https://github.com/mrkkrp/req.git
28+ type: git
29+ location: https://github.com/mrkkrp/req.git
2330
2431flag dev
25− description: Turn on development settings.
26− manual: True
27− default: False
32+ description: Turn on development settings.
33+ default: False
34+ manual: True
2835
2936library
30− build-depends: aeson >= 0.9 && < 1.5
31− , authenticate-oauth >= 1.5 && < 1.7
32− , base >= 4.12 && < 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.4
37− , http-api-data >= 0.2 && < 0.5
38− , http-client >= 0.5 && < 0.7
39− , http-client-tls >= 0.3.2 && < 0.4
40− , http-types >= 0.8 && < 10.0
41− , modern-uri >= 0.3 && < 0.4
42− , monad-control >= 1.0 && < 1.1
43− , mtl >= 2.0 && < 3.0
44− , retry >= 0.8 && < 0.9
45− , text >= 0.2 && < 1.3
46− , time >= 1.2 && < 1.10
47− , transformers >= 0.4 && < 0.6
48− , transformers-base
49− exposed-modules: Network.HTTP.Req
50− if flag(dev)
51− ghc-options: -O0 -Wall -Werror
52− else
53− ghc-options: -O2 -Wall
54− if flag(dev)
55− ghc-options: -Wcompat
56− -Wincomplete-record-updates
57− -Wincomplete-uni-patterns
58− -Wnoncanonical-monad-instances
59− default-language: Haskell2010
37+ exposed-modules: Network.HTTP.Req
38+ default-language: Haskell2010
39+ build-depends:
40+ aeson >=0.9 && <1.5,
41+ authenticate-oauth >=1.5 && <1.7,
42+ base >=4.12 && <5.0,
43+ blaze-builder >=0.3 && <0.5,
44+ bytestring >=0.10.8 && <0.11,
45+ case-insensitive >=0.2 && <1.3,
46+ connection >=0.2.2 && <0.4,
47+ http-api-data >=0.2 && <0.5,
48+ http-client >=0.5 && <0.7,
49+ http-client-tls >=0.3.2 && <0.4,
50+ http-types >=0.8 && <10.0,
51+ modern-uri >=0.3 && <0.4,
52+ monad-control >=1.0 && <1.1,
53+ mtl >=2.0 && <3.0,
54+ retry >=0.8 && <0.9,
55+ text >=0.2 && <1.3,
56+ time >=1.2 && <1.10,
57+ transformers >=0.4 && <0.6,
58+ transformers-base -any
59+
60+ if flag(dev)
61+ ghc-options: -O0 -Wall -Werror
62+
63+ else
64+ ghc-options: -O2 -Wall
65+
66+ if flag(dev)
67+ ghc-options:
68+ -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns
69+ -Wnoncanonical-monad-instances
6070
6171test-suite pure-tests
62− main-is: Spec.hs
63− other-modules: Network.HTTP.ReqSpec
64− hs-source-dirs: pure-tests
65− type: exitcode-stdio-1.0
66− build-depends: QuickCheck >= 2.7 && < 3.0
67− , aeson >= 0.9 && < 1.5
68− , base >= 4.12 && < 5.0
69− , blaze-builder >= 0.3 && < 0.5
70− , bytestring >= 0.10.8 && < 0.11
71− , case-insensitive >= 0.2 && < 1.3
72− , hspec >= 2.0 && < 3.0
73− , hspec-core >= 2.0 && < 3.0
74− , http-client >= 0.5 && < 0.7
75− , http-types >= 0.8 && < 10.0
76− , modern-uri >= 0.3 && < 0.4
77− , mtl >= 2.0 && < 3.0
78− , req
79− , retry >= 0.8 && < 0.9
80− , text >= 0.2 && < 1.3
81− , time >= 1.2 && < 1.10
82− build-tools: hspec-discover >= 2.0 && < 3.0
83− if flag(dev)
84− ghc-options: -O0 -Wall -Werror
85− else
86− ghc-options: -O2 -Wall
87− default-language: Haskell2010
72+ type: exitcode-stdio-1.0
73+ main-is: Spec.hs
74+ build-tools: 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 && <1.5,
81+ base >=4.12 && <5.0,
82+ blaze-builder >=0.3 && <0.5,
83+ bytestring >=0.10.8 && <0.11,
84+ case-insensitive >=0.2 && <1.3,
85+ hspec >=2.0 && <3.0,
86+ hspec-core >=2.0 && <3.0,
87+ http-client >=0.5 && <0.7,
88+ http-types >=0.8 && <10.0,
89+ modern-uri >=0.3 && <0.4,
90+ mtl >=2.0 && <3.0,
91+ req -any,
92+ retry >=0.8 && <0.9,
93+ text >=0.2 && <1.3,
94+ time >=1.2 && <1.10
95+
96+ if flag(dev)
97+ ghc-options: -O0 -Wall -Werror
98+
99+ else
100+ ghc-options: -O2 -Wall
88101
89102test-suite httpbin-tests
90− main-is: Spec.hs
91− other-modules: Network.HTTP.ReqSpec
92− hs-source-dirs: httpbin-tests
93− type: exitcode-stdio-1.0
94− build-depends: QuickCheck >= 2.7 && < 3.0
95− , aeson >= 0.9 && < 1.5
96− , base >= 4.12 && < 5.0
97− , bytestring >= 0.10.8 && < 0.11
98− , hspec >= 2.0 && < 3.0
99− , http-client >= 0.5 && < 0.7
100− , http-types >= 0.8 && < 10.0
101− , monad-control >= 1.0 && < 1.1
102− , mtl >= 2.0 && < 3.0
103− , req
104− , text >= 0.2 && < 1.3
105− , unordered-containers >= 0.2.5 && < 0.2.11
106− build-tools: hspec-discover >= 2.0 && < 3.0
107− if flag(dev)
108− ghc-options: -O0 -Wall -Werror
109− else
110− ghc-options: -O2 -Wall
111− default-language: Haskell2010
103+ type: exitcode-stdio-1.0
104+ main-is: Spec.hs
105+ build-tools: hspec-discover >=2.0 && <3.0
106+ hs-source-dirs: httpbin-tests
107+ other-modules: Network.HTTP.ReqSpec
108+ default-language: Haskell2010
109+ build-depends:
110+ QuickCheck >=2.7 && <3.0,
111+ aeson >=0.9 && <1.5,
112+ base >=4.12 && <5.0,
113+ bytestring >=0.10.8 && <0.11,
114+ hspec >=2.0 && <3.0,
115+ http-client >=0.5 && <0.7,
116+ http-types >=0.8 && <10.0,
117+ monad-control >=1.0 && <1.1,
118+ mtl >=2.0 && <3.0,
119+ req -any,
120+ text >=0.2 && <1.3,
121+ unordered-containers >=0.2.5 && <0.2.11
122+
123+ if flag(dev)
124+ ghc-options: -O0 -Wall -Werror
125+
126+ else
127+ ghc-options: -O2 -Wall