Skip to content

Commit 2dff6e8

Browse files
author
Kobayashi
authored
Use data-default instead of data-default-class (#1796)
* support data-default-class 0.2 * use data-default instead of data-default-class
1 parent 108fee7 commit 2dff6e8

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

servant-auth/servant-auth-server/servant-auth-server.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ library
3838
, bytestring >= 0.11 && < 0.13
3939
, case-insensitive >= 1.2.0.11 && < 1.3
4040
, cookie >= 0.4.4 && < 0.6
41-
, data-default-class >= 0.1.2.0 && < 0.2
41+
, data-default >= 0.2 && < 0.9
4242
, entropy >= 0.4.1.3 && < 0.5
4343
, http-types >= 0.12.2 && < 0.13
4444
, jose >= 0.10 && < 0.12

servant-auth/servant-auth-server/src/Servant/Auth/Server.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ module Servant.Auth.Server
141141

142142
import Prelude hiding (readFile, writeFile)
143143
import Data.ByteString (ByteString, writeFile, readFile)
144-
import Data.Default.Class (Default (def))
144+
import Data.Default (Default (def))
145145
import Servant.Auth
146146
import Servant.Auth.JWT
147147
import Servant.Auth.Server.Internal ()

servant-auth/servant-auth-server/src/Servant/Auth/Server/Internal/ConfigTypes.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Servant.Auth.Server.Internal.ConfigTypes
66
import Crypto.JOSE as Jose
77
import Crypto.JWT as Jose
88
import qualified Data.ByteString as BS
9-
import Data.Default.Class
9+
import Data.Default
1010
import Data.Time
1111
import GHC.Generics (Generic)
1212
import Servant.API (IsSecure(..))

servant-quickcheck/servant-quickcheck.cabal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ library
4141
, bytestring >=0.11 && <0.13
4242
, case-insensitive >=1.2 && <1.3
4343
, clock >=0.7 && <0.9
44-
, data-default-class >=0.0 && <0.2
4544
, hspec >=2.5.6 && <2.12
4645
, http-client >=0.7.0 && <0.8
4746
, http-media >=0.6 && <0.9

0 commit comments

Comments
 (0)