@@ -40,7 +40,7 @@ custom-setup
40 setup-depends:
40 setup-depends:
41 base >= 4 && <5,
41 base >= 4 && <5,
43− cabal-doctest >= 1.0.1 && <1.1
43+ cabal-doctest >= 1.0.6 && <1.1
46 exposed-modules:
46 exposed-modules:
@@ -71,7 +71,7 @@ library
72 if !impl(ghc >= 8.0)
72 if !impl(ghc >= 8.0)
73 build-depends:
73 build-depends:
74− semigroups >= 0.18.3 && < 0.19
74+ semigroups >= 0.18.4 && < 0.19
76 -- Servant dependencies
76 -- Servant dependencies
77 build-depends:
77 build-depends:
@@ -80,28 +80,22 @@ library
80 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
80 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
81 -- Here can be exceptions if we really need features from the newer versions.
81 -- Here can be exceptions if we really need features from the newer versions.
82 build-depends:
82 build-depends:
83− aeson >= 1.2.3.0 && < 1.5
84− , base-compat >= 0.9.3 && < 0.11
83+ base-compat >= 0.10.1 && < 0.11
85− , attoparsec >= 0.13.2.0 && < 0.14
86 , base64-bytestring >= 1.0.0.1 && < 1.1
84 , base64-bytestring >= 1.0.0.1 && < 1.1
87− , exceptions >= 0.8.3 && < 0.11
85+ , exceptions >= 0.10.0 && < 0.11
88− , http-api-data >= 0.3.7.1 && < 0.4
86+ , http-api-data >= 0.3.8.1 && < 0.4
89− , http-media >= 0.7.1.1 && < 0.8
87+ , http-media >= 0.7.1.2 && < 0.8
90− , http-types >= 0.12 && < 0.13
88+ , http-types >= 0.12.1 && < 0.13
91 , network-uri >= 2.6.1.0 && < 2.7
89 , network-uri >= 2.6.1.0 && < 2.7
92− , monad-control >= 1.0.0.4 && < 1.1
90+ , monad-control >= 1.0.2.3 && < 1.1
93− , network >= 2.6.3.2 && < 2.8
91+ , network >= 2.6.3.5 && < 2.8
94− , safe >= 0.3.15 && < 0.4
95− , split >= 0.2.3.2 && < 0.3
96 , string-conversions >= 0.4.0.1 && < 0.5
92 , string-conversions >= 0.4.0.1 && < 0.5
97− , system-filepath >= 0.4 && < 0.5
98− , resourcet >= 1.1.9 && < 1.3
93+ , resourcet >= 1.1.11 && < 1.3
99 , tagged >= 0.8.5 && < 0.9
94 , tagged >= 0.8.5 && < 0.9
100 , transformers-base >= 0.4.4 && < 0.5
95 , transformers-base >= 0.4.4 && < 0.5
101− , transformers-compat >= 0.5.1 && < 0.7
96+ , transformers-compat >= 0.6.2 && < 0.7
102 , wai >= 3.2.1.1 && < 3.3
97 , wai >= 3.2.1.1 && < 3.3
103 , wai-app-static >= 3.1.6.1 && < 3.2
98 , wai-app-static >= 3.1.6.1 && < 3.2
104− , warp >= 3.2.13 && < 3.3
105 , word8 >= 0.1.3 && < 0.2
99 , word8 >= 0.1.3 && < 0.2
107 hs-source-dirs: src
101 hs-source-dirs: src
@@ -120,11 +114,13 @@ executable greet
121 , servant
115 , servant
122 , servant-server
116 , servant-server
121+ aeson >= 1.3.1.1 && < 1.5
122+ , warp >= 3.2.13 && < 3.3
128test-suite spec
124test-suite spec
129 type: exitcode-stdio-1.0
125 type: exitcode-stdio-1.0
130 ghc-options: -Wall
126 ghc-options: -Wall
@@ -148,13 +144,10 @@ test-suite spec
148 build-depends:
144 build-depends:
150 , base-compat
146 , base-compat
152 , base64-bytestring
147 , base64-bytestring
153 , bytestring
148 , bytestring
155 , http-types
149 , http-types
158 , resourcet
151 , resourcet
160 , servant
153 , servant
@@ -164,27 +157,26 @@ test-suite spec
164 , transformers
157 , transformers
165 , transformers-compat
158 , transformers-compat
169 -- Additonal dependencies
161 -- Additonal dependencies
170 build-depends:
162 build-depends:
163+ aeson >= 1.3.1.1 && < 1.5
171− directory >= 1.2.1.0 && < 1.4
164+ , directory >= 1.2.1.0 && < 1.4
172− , hspec >= 2.4.4 && < 2.6
165+ , hspec >= 2.5.1 && < 2.6
173− , hspec-wai >= 0.9 && < 0.10
166+ , hspec-wai >= 0.9.0 && < 0.10
167+ , QuickCheck >= 2.11.3 && < 2.12
174 , should-not-typecheck >= 2.1.0 && < 2.2
168 , should-not-typecheck >= 2.1.0 && < 2.2
175− , parsec >= 3.1.11 && < 3.2
169+ , temporary >= 1.3 && < 1.4
176− , QuickCheck >= 2.10.1 && < 2.12
177 , wai-extra >= 3.0.21.0 && < 3.1
170 , wai-extra >= 3.0.21.0 && < 3.1
178− , temporary >= 1.2.0.3 && < 1.4
180 build-tool-depends:
172 build-tool-depends:
181− hspec-discover:hspec-discover >=2.4.4 && <2.6
173+ hspec-discover:hspec-discover >= 2.5.1 && <2.6
183test-suite doctests
175test-suite doctests
184 build-depends:
176 build-depends:
186 , servant-server
178 , servant-server
187− , doctest >= 0.13.0 && <0.16
179+ , doctest >= 0.15.0 && <0.16
188 type: exitcode-stdio-1.0
180 type: exitcode-stdio-1.0
189 main-is: test/doctests.hs
181 main-is: test/doctests.hs
190 buildable: True
182 buildable: True