From e0e067464508620cae2cb826fa349071e4f99a9f Mon Sep 17 00:00:00 2001 From: Oleg Grenrus Date: Tue, 13 Nov 2018 10:35:06 +0200 Subject: [PATCH] Strict dependencies on http-api-data and singleton-bool --- servant/servant.cabal | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/servant/servant.cabal b/servant/servant.cabal index d6e21c87..39d54da4 100644 --- a/servant/servant.cabal +++ b/servant/servant.cabal @@ -94,6 +94,13 @@ library , transformers >= 0.5.2.0 && < 0.6 , text >= 1.2.3.0 && < 1.3 + + -- We depend (heavily) on the API of these packages: + -- i.e. re-export, or allow using without direct dependency + build-depends: + http-api-data >= 0.3.10 && < 0.3.11 + , singleton-bool >= 0.1.4 && < 0.1.5 + -- 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: @@ -102,13 +109,11 @@ library , attoparsec >= 0.13.2.2 && < 0.14 , bifunctors >= 5.5.3 && < 5.6 , case-insensitive >= 1.2.0.11 && < 1.3 - , http-api-data >= 0.3.10 && < 0.4 , http-media >= 0.7.1.3 && < 0.8 , http-types >= 0.12.2 && < 0.13 , mmorph >= 1.1.2 && < 1.2 , network-uri >= 2.6.1.0 && < 2.7 , QuickCheck >= 2.12.6.1 && <2.13 - , singleton-bool >= 0.1.4 && < 0.2 , string-conversions >= 0.4.0.1 && < 0.5 , tagged >= 0.8.6 && < 0.9 , vault >= 0.3.1.2 && < 0.4