Relax dependencies to build with GHC 8.10 (base, swagger2) (#1502)

* Allow swagger 2.7.
* Allow base-4.14 (GHC 8.10).
This commit is contained in:
Robert
2020-04-25 13:35:01 -05:00
committed by GitHub
parent c0546e0e46
commit 3baefa1d96
+5 -5
View File
@@ -43,7 +43,7 @@ library
PostgREST.Private.Common
PostgREST.Private.QueryFragment
hs-source-dirs: src
build-depends: base >= 4.9 && < 4.14
build-depends: base >= 4.9 && < 4.15
, HTTP >= 4000.3.7 && < 4000.4
, Ranged-sets >= 0.3 && < 0.5
, aeson >= 1.4.7 && < 1.5
@@ -75,7 +75,7 @@ library
, protolude >= 0.3 && < 0.4
, regex-tdfa >= 1.2.2 && < 1.4
, scientific >= 0.3.4 && < 0.4
, swagger2 >= 2.4 && < 2.6
, swagger2 >= 2.4 && < 2.7
, text >= 1.2.2 && < 1.3
, time >= 1.6 && < 1.11
, unordered-containers >= 0.2.8 && < 0.3
@@ -99,7 +99,7 @@ library
executable postgrest
main-is: Main.hs
hs-source-dirs: main
build-depends: base >= 4.9 && < 4.14
build-depends: base >= 4.9 && < 4.15
, auto-update >= 0.1.4 && < 0.2
, base64-bytestring >= 1 && < 1.1
, bytestring >= 0.10.8 && < 0.11
@@ -163,7 +163,7 @@ test-suite spec
SpecHelper
TestTypes
hs-source-dirs: test
build-depends: base >= 4.9 && < 4.14
build-depends: base >= 4.9 && < 4.15
, aeson >= 1.4.7 && < 1.5
, aeson-qq >= 0.8.1 && < 0.9
, async >= 2.1.1 && < 2.3
@@ -207,7 +207,7 @@ Test-Suite spec-querycost
Hs-Source-Dirs: test
Main-Is: QueryCost.hs
Other-Modules: SpecHelper
Build-Depends: base >= 4.9 && < 4.14
Build-Depends: base >= 4.9 && < 4.15
, aeson >= 1.4.7 && < 1.5
, aeson-qq >= 0.8.1 && < 0.9
, async >= 2.1.1 && < 2.3