summaryrefslogtreecommitdiff
path: root/servant-auth-client.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'servant-auth-client.cabal')
-rw-r--r--servant-auth-client.cabal54
1 files changed, 21 insertions, 33 deletions
diff --git a/servant-auth-client.cabal b/servant-auth-client.cabal
index f9c037a..d6c1bcb 100644
--- a/servant-auth-client.cabal
+++ b/servant-auth-client.cabal
@@ -1,5 +1,5 @@
name: servant-auth-client
-version: 0.3.3.0
+version: 0.4.0.0
synopsis: servant-client/servant-auth compatibility
description: This package provides instances that allow generating clients from
<https://hackage.haskell.org/package/servant servant>
@@ -15,7 +15,7 @@ maintainer: jkarni@gmail.com
copyright: (c) Julian K. Arni
license: BSD3
license-file: LICENSE
-tested-with: GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC==8.4.3
+tested-with: GHC == 8.0.2, GHC == 8.2.2, GHC==8.4.4, GHC==8.6.2
build-type: Simple
cabal-version: >= 1.10
extra-source-files:
@@ -25,30 +25,18 @@ source-repository head
type: git
location: https://github.com/haskell-servant/servant-auth
-flag servant-client-core
- description: Use servant-client-core
- default: True
- manual: False
-
library
hs-source-dirs:
src
default-extensions: AutoDeriveTypeable ConstraintKinds DataKinds DefaultSignatures DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable FlexibleContexts FlexibleInstances FunctionalDependencies GADTs KindSignatures MultiParamTypeClasses OverloadedStrings RankNTypes ScopedTypeVariables TypeFamilies TypeOperators
ghc-options: -Wall
build-depends:
- base >= 4.8 && < 4.12
- , text
- , bytestring
+ base >= 4.9 && < 4.13
+ , bytestring >= 0.10.6.0 && < 0.11
+ , containers >= 0.5.6.2 && < 0.7
, servant-auth == 0.3.*
- , servant >= 0.7 && < 0.15
- if flag(servant-client-core)
- cpp-options: -DHAS_CLIENT_CORE=1
- build-depends:
- servant-client-core >= 0.12 && < 0.15,
- containers
- else
- build-depends:
- servant-client >= 0.7 && < 0.12
+ , servant >= 0.13 && < 0.17
+ , servant-client-core >= 0.13 && < 0.17
exposed-modules:
Servant.Auth.Client
@@ -62,7 +50,7 @@ test-suite spec
test
default-extensions: AutoDeriveTypeable ConstraintKinds DataKinds DefaultSignatures DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable FlexibleContexts FlexibleInstances FunctionalDependencies GADTs KindSignatures MultiParamTypeClasses OverloadedStrings RankNTypes ScopedTypeVariables TypeFamilies TypeOperators
ghc-options: -Wall
- build-tool-depends: hspec-discover:hspec-discover
+ build-tool-depends: hspec-discover:hspec-discover >=2.5.5 && <2.8
-- dependencies with bounds inherited from the library stanza
build-depends:
@@ -74,19 +62,19 @@ test-suite spec
-- test dependencies
build-depends:
- hspec > 2 && < 3
- , QuickCheck >= 2.8 && < 2.12
- , aeson
- , bytestring
- , http-client
- , http-types
- , servant-auth-server
- , servant-server
- , time
- , transformers
- , wai
- , warp
- , jose
+ hspec >= 2.5.5 && < 2.8
+ , QuickCheck >= 2.11.3 && < 2.13
+ , aeson >= 1.3.1.1 && < 1.5
+ , bytestring >= 0.10.6.0 && < 0.11
+ , http-client >= 0.5.13.1 && < 0.7
+ , http-types >= 0.12.2 && < 0.13
+ , servant-auth-server >= 0.4.2.0 && < 0.5
+ , servant-server >= 0.13 && < 0.17
+ , time >= 1.5.0.1 && < 1.9
+ , transformers >= 0.4.2.0 && < 0.6
+ , wai >= 3.2.1.2 && < 3.3
+ , warp >= 3.2.25 && < 3.3
+ , jose >= 0.7.0.0 && < 0.9
other-modules:
Servant.Auth.ClientSpec
default-language: Haskell2010