Merge pull request #895 from phadej/lower-bounds

Bump lower bounds
This commit is contained in:
Oleg Grenrus 2018-01-25 18:42:11 +02:00 committed by GitHub
commit 030cbbc363
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 346 additions and 218 deletions

View file

@ -22,47 +22,60 @@ extra-source-files:
static/ui.js static/ui.js
library library
default-language: Haskell2010
ghc-options: -Wall -pgmL markdown-unlit
exposed-modules: ApiType exposed-modules: ApiType
, Authentication , Authentication
, Client , Client
, Docs , Docs
, Javascript , Javascript
, Server , Server
build-depends: base == 4.*
, base-compat -- Packages `servant` depends on.
, text -- We don't need to specify bounds here as this package is never released.
build-depends:
base >= 4.7 && <4.11
, aeson , aeson
, aeson-compat , aeson-compat
, blaze-html
, directory
, blaze-markup
, containers
, servant == 0.12.*
, servant-server == 0.12.*
, servant-client == 0.12.*
, servant-docs >= 0.11.1 && <0.12
, servant-js >= 0.9 && <0.10
, warp
, http-api-data
, http-media
, lucid
, time
, string-conversions
, bytestring
, attoparsec , attoparsec
, mtl >=2.1 && <2.3 , base-compat
, mtl-compat , bytestring
, random , containers
, js-jquery , directory
, wai , http-api-data
, http-types
, transformers
, markdown-unlit >= 0.4
, http-client , http-client
, cookie , http-media
default-language: Haskell2010 , http-types
ghc-options: -Wall -pgmL markdown-unlit , mtl
build-tool-depends: markdown-unlit:markdown-unlit , string-conversions
, text
, transformers
, wai
, warp
-- Servant dependencies
build-depends:
servant
, servant-server
, servant-client
, servant-docs
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
-- Here can be exceptions if we really need features from the newer versions.
build-depends:
blaze-html >= 0.9.0.1 && < 0.10
, blaze-markup >= 0.8.0.0 && < 0.9
, cookie >= 0.4.3 && < 0.5
, js-jquery >= 3.2.1 && < 3.3
, lucid >= 2.9.9 && < 2.10
, mtl-compat >= 0.2.1 && < 0.3
, random >= 1.1 && < 1.2
, servant-js >= 0.9 && < 0.10
, time >= 1.4.2 && < 1.9
-- For legacy tools, we need to specify build-depends too
build-depends: markdown-unlit >= 0.4.1 && <0.5
build-tool-depends: markdown-unlit:markdown-unlit >= 0.4.1 && <0.5
test-suite spec test-suite spec
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
@ -73,7 +86,7 @@ test-suite spec
other-modules: JavascriptSpec other-modules: JavascriptSpec
build-tool-depends: build-tool-depends:
hspec-discover:hspec-discover hspec-discover:hspec-discover
build-depends: base == 4.* build-depends: base
, tutorial , tutorial
, hspec , hspec
, hspec-wai , hspec-wai

View file

@ -39,25 +39,39 @@ library
Servant.Client.Core.Internal.HasClient Servant.Client.Core.Internal.HasClient
Servant.Client.Core.Internal.Request Servant.Client.Core.Internal.Request
Servant.Client.Core.Internal.RunClient Servant.Client.Core.Internal.RunClient
-- Bundled with GHC: Lower bound to not force re-installs
-- text and mtl are bundled starting with GHC-8.4
--
-- note: mtl lower bound is so low because of GHC-7.8
build-depends: build-depends:
base >= 4.7 && < 4.11 base >= 4.7 && < 4.11
, base-compat >= 0.9.1 && < 0.10 , bytestring >= 0.10.4.0 && < 0.11
, base64-bytestring >= 1.0.0.1 && < 1.1 , containers >= 0.5.5.1 && < 0.6
, bytestring >= 0.10 && < 0.11
, containers >= 0.5 && < 0.6
, exceptions >= 0.8 && < 0.9
, generics-sop >= 0.1.0.0 && < 0.4
, http-api-data >= 0.3.6 && < 0.4
, http-media >= 0.6.2 && < 0.8
, http-types >= 0.8.6 && < 0.12
, mtl >= 2.1 && < 2.3 , mtl >= 2.1 && < 2.3
, network-uri >= 2.6 && < 2.7 , text >= 1.2.3.0 && < 1.3
, safe >= 0.3.9 && < 0.4
, servant == 0.12.*
, text >= 1.2 && < 1.3
if !impl(ghc >= 8.0) if !impl(ghc >= 8.0)
build-depends: build-depends:
semigroups >=0.16.2.2 && <0.19 semigroups >=0.18.3 && <0.19
-- Servant dependencies
build-depends:
servant == 0.12.*
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
-- Here can be exceptions if we really need features from the newer versions.
build-depends:
base-compat >= 0.9.3 && < 0.10
, base64-bytestring >= 1.0.0.1 && < 1.1
, exceptions >= 0.8.3 && < 0.9
, generics-sop >= 0.3.1.0 && < 0.4
, http-api-data >= 0.3.7.1 && < 0.4
, http-media >= 0.7.1.1 && < 0.8
, http-types >= 0.9.1 && < 0.12
, network-uri >= 2.6.1.0 && < 2.7
, safe >= 0.3.15 && < 0.4
hs-source-dirs: src hs-source-dirs: src
default-language: Haskell2010 default-language: Haskell2010
ghc-options: -Wall ghc-options: -Wall
@ -69,14 +83,20 @@ test-suite spec
default-language: Haskell2010 default-language: Haskell2010
hs-source-dirs: test hs-source-dirs: test
main-is: Spec.hs main-is: Spec.hs
other-modules:
Servant.Client.Core.Internal.BaseUrlSpec
-- Dependencies inherited from the library. No need to specify bounds.
build-depends: build-depends:
base base
, base-compat , base-compat
, deepseq
, servant-client-core , servant-client-core
, hspec == 2.*
, QuickCheck >= 2.7 && < 2.11 -- Additonal dependencies
build-depends:
deepseq >= 1.3.0.2 && <1.5
, hspec >= 2.4.4 && <2.5
, QuickCheck >= 2.10.1 && < 2.12
build-tool-depends: build-tool-depends:
hspec-discover:hspec-discover hspec-discover:hspec-discover >= 2.4.4 && <2.5
other-modules:
Servant.Client.Core.Internal.BaseUrlSpec

View file

@ -35,26 +35,39 @@ library
exposed-modules: exposed-modules:
Servant.Client Servant.Client
Servant.Client.Internal.HttpClient Servant.Client.Internal.HttpClient
-- Bundled with GHC: Lower bound to not force re-installs
-- text and mtl are bundled starting with GHC-8.4
--
-- note: mtl lower bound is so low because of GHC-7.8
build-depends: build-depends:
base >= 4.7 && < 4.11 base >= 4.7 && < 4.11
, base-compat >= 0.9.1 && < 0.10 , bytestring >= 0.10.4.0 && < 0.11
, bytestring >= 0.10 && < 0.11 , containers >= 0.5.5.1 && < 0.6
, aeson >= 0.7 && < 1.3
, attoparsec >= 0.12 && < 0.14
, containers >= 0.5 && < 0.6
, http-client >= 0.4.30 && < 0.6
, http-client-tls >= 0.2.2 && < 0.4
, http-media >= 0.6.2 && < 0.8
, http-types >= 0.8.6 && < 0.12
, exceptions >= 0.8 && < 0.9
, monad-control >= 1.0.0.4 && < 1.1
, mtl >= 2.1 && < 2.3 , mtl >= 2.1 && < 2.3
, semigroupoids >= 4.3 && < 5.3 , text >= 1.2.3.0 && < 1.3
, servant-client-core == 0.12.* , transformers >= 0.3.0.0 && < 0.6
, text >= 1.2 && < 1.3
, transformers >= 0.3 && < 0.6 -- Servant dependencies
build-depends:
servant-client-core == 0.12.*
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
-- Here can be exceptions if we really need features from the newer versions.
build-depends:
aeson >= 1.2.3.0 && < 1.3
, base-compat >= 0.9.3 && < 0.10
, attoparsec >= 0.13.2.0 && < 0.14
, http-client >= 0.5.7.1 && < 0.6
, http-client-tls >= 0.3.5.1 && < 0.4
, http-media >= 0.7.1.1 && < 0.8
, http-types >= 0.9.1 && < 0.12
, exceptions >= 0.8.3 && < 0.9
, monad-control >= 1.0.0.4 && < 1.1
, semigroupoids >= 5.2.1 && < 5.3
, transformers-base >= 0.4.4 && < 0.5 , transformers-base >= 0.4.4 && < 0.5
, transformers-compat >= 0.4 && < 0.6 , transformers-compat >= 0.5.1 && < 0.6
hs-source-dirs: src hs-source-dirs: src
default-language: Haskell2010 default-language: Haskell2010
ghc-options: -Wall ghc-options: -Wall
@ -68,34 +81,40 @@ test-suite spec
default-language: Haskell2010 default-language: Haskell2010
hs-source-dirs: test hs-source-dirs: test
main-is: Spec.hs main-is: Spec.hs
build-tool-depends:
hspec-discover:hspec-discover
other-modules: other-modules:
Servant.ClientSpec Servant.ClientSpec
Servant.StreamSpec Servant.StreamSpec
-- Dependencies inherited from the library. No need to specify bounds.
build-depends: build-depends:
base == 4.* base
, aeson , aeson
, base-compat , base-compat
, bytestring , bytestring
, containers , containers
, deepseq
, hspec == 2.*
, http-api-data , http-api-data
, http-client , http-client
, http-media , http-media
, http-types , http-types
, HUnit
, mtl , mtl
, network >= 2.6
, QuickCheck >= 2.7
, servant
, servant-client , servant-client
, servant-client-core , servant-client-core
, servant-server == 0.12.*
, text , text
, transformers , transformers
, transformers-compat , transformers-compat
, wai , wai
, warp , warp
, generics-sop
-- Additonal dependencies
build-depends:
deepseq >= 1.3.0.2 && < 1.5
, generics-sop >= 0.3.1.0 && < 0.4
, hspec >= 2.4.4 && < 2.5
, HUnit >= 1.6 && < 1.7
, network >= 2.6.3.2 && < 2.7
, QuickCheck >= 2.10.1 && < 2.12
, servant == 0.12.*
, servant-server == 0.12.*
build-tool-depends:
hspec-discover:hspec-discover >= 2.4.4 && < 2.5

View file

@ -35,25 +35,39 @@ library
Servant.Docs Servant.Docs
, Servant.Docs.Internal , Servant.Docs.Internal
, Servant.Docs.Internal.Pretty , Servant.Docs.Internal.Pretty
-- Bundled with GHC: Lower bound to not force re-installs
-- text and mtl are bundled starting with GHC-8.4
--
-- note: mtl lower bound is so low because of GHC-7.8
build-depends: build-depends:
base >=4.7 && <5 base >= 4.7 && < 4.11
, base-compat >= 0.9.1 && <0.10
, aeson
, aeson-pretty
, bytestring >= 0.10.4.0 && < 0.11 , bytestring >= 0.10.4.0 && < 0.11
, case-insensitive , text >= 1.2.3.0 && < 1.3
, hashable
, http-media >= 0.6
, http-types >= 0.7
, lens
, servant == 0.12.*
, string-conversions
, text
, unordered-containers >=0.2.5.0
, control-monad-omega >= 0.3.1 && <0.4
if !impl(ghc >= 8.0) if !impl(ghc >= 8.0)
build-depends: build-depends:
semigroups >=0.17 && <0.19 semigroups >=0.18.3 && <0.19
-- Servant dependencies
build-depends:
servant == 0.12.*
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
-- Here can be exceptions if we really need features from the newer versions.
build-depends:
aeson >= 1.2.3.0 && < 1.3
, aeson-pretty >= 0.8.5 && < 0.9
, base-compat >= 0.9.3 && < 0.10
, case-insensitive >= 1.2.0.10 && < 1.3
, control-monad-omega >= 0.3.1 && < 0.4
, hashable >= 1.2.6.1 && < 1.3
, http-media >= 0.7.1.1 && < 0.8
, http-types >= 0.9.1 && < 0.12
, lens >= 4.15.4 && < 4.16
, string-conversions >= 0.4.0.1 && < 0.5
, unordered-containers >= 0.2.8.0 && < 0.3
hs-source-dirs: src hs-source-dirs: src
default-language: Haskell2010 default-language: Haskell2010
ghc-options: -Wall ghc-options: -Wall
@ -76,19 +90,25 @@ executable greet-docs
default-language: Haskell2010 default-language: Haskell2010
test-suite spec test-suite spec
default-language: Haskell2010
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
main-is: Spec.hs main-is: Spec.hs
other-modules: Servant.DocsSpec other-modules: Servant.DocsSpec
build-tool-depends:
hspec-discover:hspec-discover
hs-source-dirs: test hs-source-dirs: test
ghc-options: -Wall ghc-options: -Wall
-- Dependencies inherited from the library. No need to specify bounds.
build-depends: build-depends:
base base
, aeson , aeson
, hspec
, lens , lens
, servant , servant
, servant-docs , servant-docs
, string-conversions , string-conversions
default-language: Haskell2010
-- Additonal dependencies
build-depends:
hspec >= 2.4.4 && < 2.5
build-tool-depends:
hspec-discover:hspec-discover >=2.4.4 && <2.5

View file

@ -36,12 +36,26 @@ library
exposed-modules: Servant.Foreign exposed-modules: Servant.Foreign
, Servant.Foreign.Internal , Servant.Foreign.Internal
, Servant.Foreign.Inflections , Servant.Foreign.Inflections
build-depends: base >= 4.7 && <4.11
, base-compat >= 0.9.3 && <0.10 -- Bundled with GHC: Lower bound to not force re-installs
, lens == 4.* -- text and mtl are bundled starting with GHC-8.4
, servant == 0.12.* --
, text >= 1.2 && < 1.3 -- note: mtl lower bound is so low because of GHC-7.8
, http-types build-depends:
base >= 4.7 && <4.11
, text >= 1.2.3.0 && < 1.3
-- Servant dependencies
build-depends:
servant == 0.12.*
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
-- Here can be exceptions if we really need features from the newer versions.
build-depends:
base-compat >= 0.9.3 && <0.10
, lens >= 4.15.4 && <4.16
, http-types >= 0.9.1 && < 0.12
hs-source-dirs: src hs-source-dirs: src
default-language: Haskell2010 default-language: Haskell2010
ghc-options: -Wall ghc-options: -Wall
@ -56,10 +70,17 @@ test-suite spec
include-dirs: include include-dirs: include
main-is: Spec.hs main-is: Spec.hs
other-modules: Servant.ForeignSpec other-modules: Servant.ForeignSpec
build-tool-depends:
hspec-discover:hspec-discover -- Dependencies inherited from the library. No need to specify bounds.
build-depends: base build-depends:
, hspec >= 2.1.8 base
, servant , servant
, servant-foreign , servant-foreign
-- Additonal dependencies
build-depends:
hspec >= 2.4.4 && <2.5
build-tool-depends:
hspec-discover:hspec-discover >=2.4.4 && <2.5
default-language: Haskell2010 default-language: Haskell2010

View file

@ -9,7 +9,7 @@
{-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeFamilies #-} {-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-} {-# LANGUAGE TypeOperators #-}
#if __GLASGOW__HASKELL < 709 #if __GLASGOW_HASKELL__ < 709
{-# OPTIONS_GHC -fcontext-stack=41 #-} {-# OPTIONS_GHC -fcontext-stack=41 #-}
#endif #endif
#include "overlapping-compat.h" #include "overlapping-compat.h"

View file

@ -54,38 +54,50 @@ library
Servant.Server.Internal.RoutingApplication Servant.Server.Internal.RoutingApplication
Servant.Server.Internal.ServantErr Servant.Server.Internal.ServantErr
Servant.Utils.StaticFiles Servant.Utils.StaticFiles
-- Bundled with GHC: Lower bound to not force re-installs
-- text and mtl are bundled starting with GHC-8.4
--
-- note: mtl lower bound is so low because of GHC-7.8
build-depends: build-depends:
base >= 4.7 && < 4.11 base >= 4.7 && < 4.11
, base-compat >= 0.9 && < 0.10 , bytestring >= 0.10.4.0 && < 0.11
, aeson >= 0.7 && < 1.3 , containers >= 0.5.5.1 && < 0.6
, attoparsec >= 0.12 && < 0.14 , mtl >= 2.1 && < 2.3
, base64-bytestring >= 1.0 && < 1.1 , text >= 1.2.3.0 && < 1.3
, bytestring >= 0.10 && < 0.11 , transformers >= 0.3.0.0 && < 0.6
, containers >= 0.5 && < 0.6 , filepath >= 1.3.0.2 && < 1.5
, exceptions >= 0.8 && < 0.9
, http-api-data >= 0.3 && < 0.4 -- Servant dependencies
, http-media >= 0.4 && < 0.8 build-depends:
, http-types >= 0.8 && < 0.12 servant == 0.12.*
, network-uri >= 2.6 && < 2.7
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
-- Here can be exceptions if we really need features from the newer versions.
build-depends:
aeson >= 1.2.3.0 && < 1.3
, base-compat >= 0.9.3 && < 0.10
, attoparsec >= 0.13.2.0 && < 0.14
, base64-bytestring >= 1.0.0.1 && < 1.1
, exceptions >= 0.8.3 && < 0.9
, http-api-data >= 0.3.7.1 && < 0.4
, http-media >= 0.7.1.1 && < 0.8
, http-types >= 0.9.1 && < 0.12
, network-uri >= 2.6.1.0 && < 2.7
, monad-control >= 1.0.0.4 && < 1.1 , monad-control >= 1.0.0.4 && < 1.1
, mtl >= 2 && < 2.3 , network >= 2.6.3.2 && < 2.7
, network >= 2.6 && < 2.7 , safe >= 0.3.15 && < 0.4
, safe >= 0.3 && < 0.4 , split >= 0.2.3.2 && < 0.3
, servant == 0.12.* , string-conversions >= 0.4.0.1 && < 0.5
, split >= 0.2 && < 0.3
, string-conversions >= 0.3 && < 0.5
, system-filepath >= 0.4 && < 0.5 , system-filepath >= 0.4 && < 0.5
, filepath >= 1 && < 1.5 , resourcet >= 1.1.10 && < 1.2
, resourcet >= 1.1.6 && <1.2 , tagged >= 0.8.5 && < 0.9
, tagged >= 0.7.3 && <0.9
, text >= 1.2 && < 1.3
, transformers >= 0.3 && < 0.6
, transformers-base >= 0.4.4 && < 0.5 , transformers-base >= 0.4.4 && < 0.5
, transformers-compat>= 0.4 && < 0.6 , transformers-compat >= 0.5.1 && < 0.6
, wai >= 3.0 && < 3.3 , wai >= 3.2.1.1 && < 3.3
, wai-app-static >= 3.1 && < 3.2 , wai-app-static >= 3.1.6.1 && < 3.2
, warp >= 3.0 && < 3.3 , warp >= 3.2.13 && < 3.3
, word8 >= 0.1 && < 0.2 , word8 >= 0.1.3 && < 0.2
hs-source-dirs: src hs-source-dirs: src
default-language: Haskell2010 default-language: Haskell2010
@ -126,44 +138,48 @@ test-suite spec
Servant.HoistSpec Servant.HoistSpec
Servant.ServerSpec Servant.ServerSpec
Servant.Utils.StaticFilesSpec Servant.Utils.StaticFilesSpec
build-tool-depends:
hspec-discover:hspec-discover -- Dependencies inherited from the library. No need to specify bounds.
build-depends: build-depends:
base == 4.* base
, base-compat , base-compat
, aeson , aeson
, base64-bytestring , base64-bytestring
, bytestring , bytestring
, directory
, exceptions , exceptions
, hspec == 2.*
, hspec-wai >= 0.8 && <0.10
, http-types , http-types
, mtl , mtl
, network >= 2.6 , network
, parsec
, QuickCheck
, resourcet , resourcet
, safe , safe
, servant , servant
, servant-server , servant-server
, should-not-typecheck == 2.1.*
, string-conversions , string-conversions
, temporary
, text , text
, transformers , transformers
, transformers-compat , transformers-compat
, wai , wai
, wai-extra
, warp , warp
-- Additonal dependencies
build-depends:
directory >= 1.2.1.0 && < 1.4
, hspec >= 2.4.4 && < 2.5
, hspec-wai >= 0.9 && < 0.10
, should-not-typecheck >= 2.1.0 && < 2.2
, parsec >= 3.1.11 && < 3.2
, QuickCheck >= 2.10.1 && < 2.12
, wai-extra >= 3.0.21.0 && < 3.1
, temporary >= 1.2.0.3 && < 1.3
build-tool-depends:
hspec-discover:hspec-discover >=2.4.4 && <2.5
test-suite doctests test-suite doctests
build-depends: base build-depends:
, servant base
, doctest , servant-server
, filemanip , doctest >= 0.13.0 && <0.14
, directory
, filepath
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
main-is: test/doctests.hs main-is: test/doctests.hs
buildable: True buildable: True

View file

@ -63,29 +63,38 @@ library
Servant.API.WithNamedContext Servant.API.WithNamedContext
Servant.Utils.Links Servant.Utils.Links
Servant.Utils.Enter Servant.Utils.Enter
-- Bundled with GHC: Lower bound to not force re-installs
-- text and mtl are bundled starting with GHC-8.4
--
-- note: mtl lower bound is so low because of GHC-7.8
build-depends: build-depends:
base >= 4.7 && < 4.11 base >= 4.7 && < 4.11
, base-compat >= 0.9 && < 0.10 , bytestring >= 0.10.4.0 && < 0.11
, aeson >= 0.7 && < 1.3 , mtl >= 2.0.1 && < 2.3
, attoparsec >= 0.12 && < 0.14 , text >= 1.2.3.0 && < 1.3
, bytestring >= 0.10 && < 0.11
, case-insensitive >= 1.2 && < 1.3
, http-api-data >= 0.3 && < 0.4
, http-media >= 0.4 && < 0.8
, http-types >= 0.8 && < 0.12
, natural-transformation >= 0.4 && < 0.5
, mtl >= 2.0 && < 2.3
, mmorph >= 1 && < 1.2
, tagged >= 0.7.3 && < 0.9
, text >= 1 && < 1.3
, singleton-bool >= 0.1.2.0 && <0.2
, string-conversions >= 0.3 && < 0.5
, network-uri >= 2.6 && < 2.7
, vault >= 0.3 && < 0.4
if !impl(ghc >= 8.0) if !impl(ghc >= 8.0)
build-depends: build-depends:
semigroups >= 0.16 && < 0.19 semigroups >= 0.18.3 && < 0.19
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
-- Here can be exceptions if we really need features from the newer versions.
build-depends:
base-compat >= 0.9.3 && < 0.10
, aeson >= 1.2.3.0 && < 1.3
, attoparsec >= 0.13.2.0 && < 0.14
, case-insensitive >= 1.2.0.10 && < 1.3
, http-api-data >= 0.3.7.1 && < 0.4
, http-media >= 0.7.1.1 && < 0.8
, http-types >= 0.9.1 && < 0.12
, natural-transformation >= 0.4 && < 0.5
, mmorph >= 1.1.0 && < 1.2
, tagged >= 0.8.5 && < 0.9
, singleton-bool >= 0.1.2.0 && < 0.2
, string-conversions >= 0.4.0.1 && < 0.5
, network-uri >= 2.6.1.0 && < 2.7
, vault >= 0.3.0.7 && < 0.4
hs-source-dirs: src hs-source-dirs: src
default-language: Haskell2010 default-language: Haskell2010
@ -125,35 +134,42 @@ test-suite spec
Servant.API.ResponseHeadersSpec Servant.API.ResponseHeadersSpec
Servant.Utils.LinksSpec Servant.Utils.LinksSpec
Servant.Utils.EnterSpec Servant.Utils.EnterSpec
build-tool-depends:
hspec-discover:hspec-discover -- Dependencies inherited from the library. No need to specify bounds.
build-depends: build-depends:
base == 4.* base
, base-compat , base-compat
, aeson , aeson
, aeson-compat >=0.3.3 && <0.4
, attoparsec , attoparsec
, bytestring , bytestring
, hspec == 2.*
, QuickCheck
, quickcheck-instances
, servant , servant
, string-conversions , string-conversions
, text , text
, url
if !impl(ghc >= 8.0) if !impl(ghc >= 8.0)
build-depends: build-depends:
semigroups >= 0.16 && < 0.19 semigroups
-- Additonal dependencies
build-depends:
aeson-compat >= 0.3.3 && < 0.4
, hspec >= 2.4.4 && < 2.5
, QuickCheck >= 2.10.1 && < 2.12
, quickcheck-instances >= 0.3.16 && < 0.4
build-tool-depends:
hspec-discover:hspec-discover >= 2.4.4 && < 2.5
test-suite doctests test-suite doctests
build-depends: base build-depends:
base
, servant , servant
, doctest , doctest >= 0.13.0 && <0.14
, filemanip
, directory -- We test Links failure with doctest, so we need extra dependencies
, filepath build-depends:
, hspec hspec >= 2.4.4 && < 2.5
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
main-is: test/doctests.hs main-is: test/doctests.hs
buildable: True buildable: True

View file

@ -4,7 +4,7 @@
{-# LANGUAGE PolyKinds #-} {-# LANGUAGE PolyKinds #-}
{-# LANGUAGE TypeOperators #-} {-# LANGUAGE TypeOperators #-}
{-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE ScopedTypeVariables #-}
#if __GLASGOW__HASKELL < 709 #if __GLASGOW_HASKELL__ < 709
{-# OPTIONS_GHC -fcontext-stack=41 #-} {-# OPTIONS_GHC -fcontext-stack=41 #-}
#endif #endif
module Servant.Utils.LinksSpec where module Servant.Utils.LinksSpec where

View file

@ -8,5 +8,8 @@ packages:
- servant-server/ - servant-server/
- servant/ - servant/
extra-deps:
- text-1.2.3.0
# allow-newer: true # ignores all bounds, that's a sledgehammer # allow-newer: true # ignores all bounds, that's a sledgehammer
# - doc/tutorial/ # - doc/tutorial/